Fixed long arg name from stack_depth to stack-depth
authorSasha Goldshtein <goldshtn@gmail.com>
Tue, 9 Feb 2016 14:24:33 +0000 (06:24 -0800)
committerSasha Goldshtein <goldshtn@gmail.com>
Tue, 9 Feb 2016 14:24:33 +0000 (06:24 -0800)
tools/memleak.py

index 063cf31..980ced0 100755 (executable)
@@ -190,7 +190,7 @@ parser.add_argument("-c", "--command",
         help="execute and trace the specified command")
 parser.add_argument("-s", "--sample-rate", default=1, type=int,
         help="sample every N-th allocation to decrease the overhead")
-parser.add_argument("-d", "--stack_depth", default=10, type=int,
+parser.add_argument("-d", "--stack-depth", default=10, type=int,
         help="maximum stack depth to capture")
 
 args = parser.parse_args()