mirror of
https://github.com/littlefs-project/littlefs.git
synced 2025-12-27 01:28:25 +00:00
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:
@@ -53,6 +53,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:
|
||||
@@ -1374,7 +1375,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(
|
||||
|
||||
Reference in New Issue
Block a user