diff --git a/scripts/dbgbmap.py b/scripts/dbgbmap.py index ac43d9cb..c9e41658 100755 --- a/scripts/dbgbmap.py +++ b/scripts/dbgbmap.py @@ -1859,7 +1859,7 @@ if __name__ == "__main__": action='store_true', help="Show how much of each block is in use.") parser.add_argument( - '--depth', + '-z', '--depth', nargs='?', type=lambda x: int(x, 0), const=0, diff --git a/scripts/dbgbtree.py b/scripts/dbgbtree.py index bcc643d8..7e7a398b 100755 --- a/scripts/dbgbtree.py +++ b/scripts/dbgbtree.py @@ -1053,7 +1053,7 @@ if __name__ == "__main__": action='store_true', help="Show inner branches.") parser.add_argument( - '-Z', '--depth', + '-z', '--depth', nargs='?', type=lambda x: int(x, 0), const=0, diff --git a/scripts/dbglfs.py b/scripts/dbglfs.py index 84c74917..31e16da8 100755 --- a/scripts/dbglfs.py +++ b/scripts/dbglfs.py @@ -2231,7 +2231,7 @@ if __name__ == "__main__": action='store_true', help="Don't truncate, show the full contents.") parser.add_argument( - '-Z', '--depth', + '-z', '--depth', nargs='?', type=lambda x: int(x, 0), const=0, @@ -2253,7 +2253,7 @@ if __name__ == "__main__": action='store_true', help="Show inner branches.") parser.add_argument( - '-z', '--struct-depth', + '-Z', '--struct-depth', nargs='?', type=lambda x: int(x, 0), const=0, diff --git a/scripts/dbgmtree.py b/scripts/dbgmtree.py index 1bd9ac63..e4c6d1b9 100755 --- a/scripts/dbgmtree.py +++ b/scripts/dbgmtree.py @@ -1706,7 +1706,7 @@ if __name__ == "__main__": action='store_true', help="Show inner branches.") parser.add_argument( - '-Z', '--depth', + '-z', '--depth', nargs='?', type=lambda x: int(x, 0), const=0, diff --git a/scripts/perf.py b/scripts/perf.py index c280a4ad..0dd4def4 100755 --- a/scripts/perf.py +++ b/scripts/perf.py @@ -1271,7 +1271,7 @@ if __name__ == "__main__": help="Depth to propagate samples up the call-stack. 0 propagates up " "to the entry point, 1 does no propagation. Defaults to 0.") parser.add_argument( - '-Z', '--depth', + '-z', '--depth', nargs='?', type=lambda x: int(x, 0), const=0, diff --git a/scripts/perfbd.py b/scripts/perfbd.py index a46c8210..c99ca3a6 100755 --- a/scripts/perfbd.py +++ b/scripts/perfbd.py @@ -1235,7 +1235,7 @@ if __name__ == "__main__": help="Depth to propagate samples up the call-stack. 0 propagates up " "to the entry point, 1 does no propagation. Defaults to 0.") parser.add_argument( - '-Z', '--depth', + '-z', '--depth', nargs='?', type=lambda x: int(x, 0), const=0, diff --git a/scripts/stack.py b/scripts/stack.py index 4487f604..4ee2d3f4 100755 --- a/scripts/stack.py +++ b/scripts/stack.py @@ -735,7 +735,7 @@ if __name__ == "__main__": action='store_true', help="Include builtin and libc specific symbols.") parser.add_argument( - '-Z', '--depth', + '-z', '--depth', nargs='?', type=lambda x: int(x, 0), const=0,