[options] mark '--list-extractors' argument as optional

This commit is contained in:
Mike Fährmann
2025-01-05 21:37:44 +01:00
parent 7e8ca377fc
commit a3b9cc7785
3 changed files with 10 additions and 9 deletions

View File

@@ -323,7 +323,7 @@ def build_parser():
input.add_argument(
"--no-input",
dest="input", nargs=0, action=ConfigConstAction, const=False,
help=("Do not prompt for passwords/tokens"),
help="Do not prompt for passwords/tokens",
)
output = parser.add_argument_group("Output Options")
@@ -406,7 +406,7 @@ def build_parser():
)
output.add_argument(
"--list-extractors",
dest="list_extractors", metavar="CATEGORIES", nargs="*",
dest="list_extractors", metavar="[CATEGORIES]", nargs="*",
help=("Print a list of extractor classes "
"with description, (sub)category and example URL"),
)
@@ -430,12 +430,12 @@ def build_parser():
output.add_argument(
"--print-traffic",
dest="print_traffic", action="store_true",
help=("Display sent and read HTTP traffic"),
help="Display sent and read HTTP traffic",
)
output.add_argument(
"--no-colors",
dest="colors", action="store_false",
help=("Do not emit ANSI color codes in output"),
help="Do not emit ANSI color codes in output",
)
networking = parser.add_argument_group("Networking Options")

View File

@@ -6,5 +6,5 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.28.3"
__version__ = "1.28.4-dev"
__variant__ = None