Skip to content

Commit

Permalink
Fixed long arg name from stack_depth to stack-depth
Browse files Browse the repository at this point in the history
  • Loading branch information
goldshtn committed Feb 9, 2016
1 parent d2241f4 commit dcee30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/memleak.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def run_command_get_pid(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()
Expand Down

0 comments on commit dcee30d

Please sign in to comment.