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

@ -1578,7 +1578,7 @@ if __name__ == "__main__":
default=3,
help="Show this many test failures. Defaults to 3.")
bench_parser.add_argument(
'--context',
'-C', '--context',
type=lambda x: int(x, 0),
default=5,
help="Show this many lines of stdout on bench failure. "