From 9781055d8c774de605707f6beb40b3fd3f0c6a2d Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Fri, 14 Mar 2025 01:10:44 -0500 Subject: [PATCH] scripts: Dropped -N shortform for --no-header --no-header doesn't really deserve a shortform, and this risks conflicts with -N/--notes in the future, not to mention any other number of flags that can start with --no-*. --- scripts/codemap.py | 2 +- scripts/codemapd3.py | 2 +- scripts/dbgbmap.py | 2 +- scripts/tracebd.py | 2 +- scripts/treemap.py | 2 +- scripts/treemapd3.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/codemap.py b/scripts/codemap.py index 876a882a..0255fd55 100755 --- a/scripts/codemap.py +++ b/scripts/codemap.py @@ -1247,7 +1247,7 @@ if __name__ == "__main__": const=0, help="Height in rows. 0 uses the terminal height. Defaults to 1.") parser.add_argument( - '-N', '--no-header', + '--no-header', action='store_true', help="Don't show the header.") parser.add_argument( diff --git a/scripts/codemapd3.py b/scripts/codemapd3.py index ef5262d3..3640f49a 100755 --- a/scripts/codemapd3.py +++ b/scripts/codemapd3.py @@ -2082,7 +2082,7 @@ if __name__ == "__main__": type=lambda x: int(x, 0), help="Height in pixels. Defaults to %r." % HEIGHT) parser.add_argument( - '-N', '--no-header', + '--no-header', action='store_true', help="Don't show the header.") parser.add_argument( diff --git a/scripts/dbgbmap.py b/scripts/dbgbmap.py index 39d619f6..bf29de9b 100755 --- a/scripts/dbgbmap.py +++ b/scripts/dbgbmap.py @@ -1451,7 +1451,7 @@ if __name__ == "__main__": action='store_true', help="Render data blocks.") parser.add_argument( - '-N', '--no-header', + '--no-header', action='store_true', help="Don't show the header.") parser.add_argument( diff --git a/scripts/tracebd.py b/scripts/tracebd.py index 335f0587..8309255b 100755 --- a/scripts/tracebd.py +++ b/scripts/tracebd.py @@ -1125,7 +1125,7 @@ if __name__ == "__main__": action='store_true', help="Reset wear on block device initialization.") parser.add_argument( - '-N', '--no-header', + '--no-header', action='store_true', help="Don't show the header.") parser.add_argument( diff --git a/scripts/treemap.py b/scripts/treemap.py index 2bc44565..d28aad58 100755 --- a/scripts/treemap.py +++ b/scripts/treemap.py @@ -1112,7 +1112,7 @@ if __name__ == "__main__": const=0, help="Height in rows. 0 uses the terminal height. Defaults to 1.") parser.add_argument( - '-N', '--no-header', + '--no-header', action='store_true', help="Don't show the header.") parser.add_argument( diff --git a/scripts/treemapd3.py b/scripts/treemapd3.py index 54dc83b3..4f240af0 100755 --- a/scripts/treemapd3.py +++ b/scripts/treemapd3.py @@ -982,7 +982,7 @@ if __name__ == "__main__": type=lambda x: int(x, 0), help="Height in pixels. Defaults to %r." % HEIGHT) parser.add_argument( - '-N', '--no-header', + '--no-header', action='store_true', help="Don't show the header.") parser.add_argument(