scripts: Added -! as a short-form for --everything
-!/--everything has been useful enough to warrant a short form flag, and -! is unlikely to conflict with other flags while also getting the point across that this is a bit of an unusual option.
This commit is contained in:
+1
-1
@@ -1191,7 +1191,7 @@ if __name__ == "__main__":
|
||||
help="Prefix to use for fields in CSV/JSON output. Defaults "
|
||||
"to %r." % ("%s_" % CodeResult._prefix))
|
||||
parser.add_argument(
|
||||
'--everything',
|
||||
'-!', '--everything',
|
||||
action='store_true',
|
||||
help="Include builtin and libc specific symbols.")
|
||||
parser.add_argument(
|
||||
|
||||
+1
-1
@@ -1163,7 +1163,7 @@ if __name__ == "__main__":
|
||||
help="Only consider definitions in this file. Defaults to "
|
||||
"anything in the current directory.")
|
||||
parser.add_argument(
|
||||
'--everything',
|
||||
'-!', '--everything',
|
||||
action='store_true',
|
||||
help="Include builtin and libc specific symbols.")
|
||||
parser.add_argument(
|
||||
|
||||
+1
-1
@@ -1517,7 +1517,7 @@ if __name__ == "__main__":
|
||||
help="Include internal symbols. Useful for introspection, but "
|
||||
"usually you don't care about these.")
|
||||
parser.add_argument(
|
||||
'--everything',
|
||||
'-!', '--everything',
|
||||
action='store_true',
|
||||
help="Include builtin and libc specific symbols.")
|
||||
parser.add_argument(
|
||||
|
||||
+1
-1
@@ -1191,7 +1191,7 @@ if __name__ == "__main__":
|
||||
help="Prefix to use for fields in CSV/JSON output. Defaults "
|
||||
"to %r." % ("%s_" % DataResult._prefix))
|
||||
parser.add_argument(
|
||||
'--everything',
|
||||
'-!', '--everything',
|
||||
action='store_true',
|
||||
help="Include builtin and libc specific symbols.")
|
||||
parser.add_argument(
|
||||
|
||||
+1
-1
@@ -1768,7 +1768,7 @@ if __name__ == "__main__":
|
||||
help="Only consider definitions in this file. Defaults to "
|
||||
"anything in the current directory.")
|
||||
parser.add_argument(
|
||||
'--everything',
|
||||
'-!', '--everything',
|
||||
action='store_true',
|
||||
help="Include builtin and libc specific symbols.")
|
||||
parser.add_argument(
|
||||
|
||||
+1
-1
@@ -1769,7 +1769,7 @@ if __name__ == "__main__":
|
||||
help="Only consider definitions in this file. Defaults to "
|
||||
"anything in the current directory.")
|
||||
parser.add_argument(
|
||||
'--everything',
|
||||
'-!', '--everything',
|
||||
action='store_true',
|
||||
help="Include builtin and libc specific symbols.")
|
||||
parser.add_argument(
|
||||
|
||||
+1
-1
@@ -1256,7 +1256,7 @@ if __name__ == "__main__":
|
||||
help="Prefix to use for fields in CSV/JSON output. Defaults "
|
||||
"to %r." % ("%s_" % StackResult._prefix))
|
||||
parser.add_argument(
|
||||
'--everything',
|
||||
'-!', '--everything',
|
||||
action='store_true',
|
||||
help="Include builtin and libc specific symbols.")
|
||||
parser.add_argument(
|
||||
|
||||
+1
-1
@@ -1398,7 +1398,7 @@ if __name__ == "__main__":
|
||||
help="Include internal symbols. Useful for introspection, but "
|
||||
"usually you don't care about these.")
|
||||
parser.add_argument(
|
||||
'--everything',
|
||||
'-!', '--everything',
|
||||
action='store_true',
|
||||
help="Include builtin and libc specific symbols.")
|
||||
parser.add_argument(
|
||||
|
||||
Reference in New Issue
Block a user