scripts: Added shortform for -t/--total flag

This flag has proven useful in external scripts, might as well give it a
short form.

-t is also an infrequently used flag, so I think the risk of collision
is low even across all csv scripts. The only existing use is in
test/bench.py for -t/--trace (and apparently in gcov for -t/--stdout?).
This commit is contained in:
Christopher Haster
2026-02-06 17:27:50 -06:00
parent b99d245cd8
commit 8bbddd3500
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1219,7 +1219,7 @@ if __name__ == "__main__":
action='store_true',
help="Only show the total.")
parser.add_argument(
'--total',
'-t', '--total',
action='store_true',
help="Equivalent to --summary + --no-header + --small-total. "
"Useful for scripting.")
+1 -1
View File
@@ -1198,7 +1198,7 @@ if __name__ == "__main__":
action='store_true',
help="Only show the total.")
parser.add_argument(
'--total',
'-t', '--total',
action='store_true',
help="Equivalent to --summary + --no-header + --small-total. "
"Useful for scripting.")
+1 -1
View File
@@ -3399,7 +3399,7 @@ if __name__ == "__main__":
action='store_true',
help="Only show the total.")
parser.add_argument(
'--total',
'-t', '--total',
action='store_true',
help="Equivalent to --summary + --no-header + --small-total. "
"Useful for scripting.")
+1 -1
View File
@@ -1537,7 +1537,7 @@ if __name__ == "__main__":
action='store_true',
help="Only show the total.")
parser.add_argument(
'--total',
'-t', '--total',
action='store_true',
help="Equivalent to --summary + --no-header + --small-total. "
"Useful for scripting.")
+1 -1
View File
@@ -1219,7 +1219,7 @@ if __name__ == "__main__":
action='store_true',
help="Only show the total.")
parser.add_argument(
'--total',
'-t', '--total',
action='store_true',
help="Equivalent to --summary + --no-header + --small-total. "
"Useful for scripting.")
+1 -1
View File
@@ -1786,7 +1786,7 @@ if __name__ == "__main__":
action='store_true',
help="Only show the total.")
parser.add_argument(
'--total',
'-t', '--total',
action='store_true',
help="Equivalent to --summary + --no-header + --small-total. "
"Useful for scripting.")
+1 -1
View File
@@ -1787,7 +1787,7 @@ if __name__ == "__main__":
action='store_true',
help="Only show the total.")
parser.add_argument(
'--total',
'-t', '--total',
action='store_true',
help="Equivalent to --summary + --no-header + --small-total. "
"Useful for scripting.")
+1 -1
View File
@@ -1280,7 +1280,7 @@ if __name__ == "__main__":
action='store_true',
help="Only show the total.")
parser.add_argument(
'--total',
'-t', '--total',
action='store_true',
help="Equivalent to --summary + --no-header + --small-total. "
"Useful for scripting.")
+1 -1
View File
@@ -1426,7 +1426,7 @@ if __name__ == "__main__":
action='store_true',
help="Only show the total.")
parser.add_argument(
'--total',
'-t', '--total',
action='store_true',
help="Equivalent to --summary + --no-header + --small-total. "
"Useful for scripting.")