Changed --context short flag to -C in scripts

This matches diff and grep, and avoids lower-case conflicts in
test.py/bench.py.
This commit is contained in:
Christopher Haster
2023-11-06 01:59:03 -06:00
parent d1b9a2969f
commit 6d81b0f509
5 changed files with 5 additions and 5 deletions

View File

@@ -1289,7 +1289,7 @@ if __name__ == "__main__":
help="Show lines with samples above this threshold as a percent of "
"all lines. Defaults to %s." % ','.join(str(t) for t in THRESHOLD))
parser.add_argument(
'-c', '--context',
'-C', '--context',
type=lambda x: int(x, 0),
default=3,
help="Show n additional lines of context. Defaults to 3.")