scripts: Adopted -c for --cat shortform

This avoids conflicts with -z/--depth, which will likely be an issue for
dbgbmap.py.
This commit is contained in:
Christopher Haster
2025-03-17 13:08:50 -05:00
parent 262ad7c08e
commit 460d8870ec
6 changed files with 8 additions and 6 deletions

View File

@ -143,6 +143,7 @@ def openio(path, mode='r', buffering=-1):
else:
return open(path, mode, buffering)
# keep-open stuff
if inotify_simple is None:
Inotify = None
else:
@ -2006,7 +2007,7 @@ if __name__ == "__main__":
action='store_true',
help="Show the first n lines.")
parser.add_argument(
'-z', '--cat',
'-c', '--cat',
action='store_true',
help="Pipe directly to stdout.")
parser.add_argument(