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-*.
This commit is contained in:
Christopher Haster
2025-03-14 01:10:44 -05:00
parent 0dbd1561ae
commit 9781055d8c
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1247,7 +1247,7 @@ if __name__ == "__main__":
const=0, const=0,
help="Height in rows. 0 uses the terminal height. Defaults to 1.") help="Height in rows. 0 uses the terminal height. Defaults to 1.")
parser.add_argument( parser.add_argument(
'-N', '--no-header', '--no-header',
action='store_true', action='store_true',
help="Don't show the header.") help="Don't show the header.")
parser.add_argument( parser.add_argument(
+1 -1
View File
@@ -2082,7 +2082,7 @@ if __name__ == "__main__":
type=lambda x: int(x, 0), type=lambda x: int(x, 0),
help="Height in pixels. Defaults to %r." % HEIGHT) help="Height in pixels. Defaults to %r." % HEIGHT)
parser.add_argument( parser.add_argument(
'-N', '--no-header', '--no-header',
action='store_true', action='store_true',
help="Don't show the header.") help="Don't show the header.")
parser.add_argument( parser.add_argument(
+1 -1
View File
@@ -1451,7 +1451,7 @@ if __name__ == "__main__":
action='store_true', action='store_true',
help="Render data blocks.") help="Render data blocks.")
parser.add_argument( parser.add_argument(
'-N', '--no-header', '--no-header',
action='store_true', action='store_true',
help="Don't show the header.") help="Don't show the header.")
parser.add_argument( parser.add_argument(
+1 -1
View File
@@ -1125,7 +1125,7 @@ if __name__ == "__main__":
action='store_true', action='store_true',
help="Reset wear on block device initialization.") help="Reset wear on block device initialization.")
parser.add_argument( parser.add_argument(
'-N', '--no-header', '--no-header',
action='store_true', action='store_true',
help="Don't show the header.") help="Don't show the header.")
parser.add_argument( parser.add_argument(
+1 -1
View File
@@ -1112,7 +1112,7 @@ if __name__ == "__main__":
const=0, const=0,
help="Height in rows. 0 uses the terminal height. Defaults to 1.") help="Height in rows. 0 uses the terminal height. Defaults to 1.")
parser.add_argument( parser.add_argument(
'-N', '--no-header', '--no-header',
action='store_true', action='store_true',
help="Don't show the header.") help="Don't show the header.")
parser.add_argument( parser.add_argument(
+1 -1
View File
@@ -982,7 +982,7 @@ if __name__ == "__main__":
type=lambda x: int(x, 0), type=lambda x: int(x, 0),
help="Height in pixels. Defaults to %r." % HEIGHT) help="Height in pixels. Defaults to %r." % HEIGHT)
parser.add_argument( parser.add_argument(
'-N', '--no-header', '--no-header',
action='store_true', action='store_true',
help="Don't show the header.") help="Don't show the header.")
parser.add_argument( parser.add_argument(