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:
+1
-1
@@ -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(
|
||||||
|
|||||||
@@ -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
@@ -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
@@ -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
@@ -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(
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user