Skip to content

Commit

Permalink
privatize --user-agent option
Browse files Browse the repository at this point in the history
suppress help message
  • Loading branch information
yzqzss committed Sep 23, 2023
1 parent f16a07b commit 8ac253f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wikiteam3/dumpgenerator/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def getArgumentParser():
"--user-agent",
type=str,
default=f"wikiteam3/{getVersion()} (WikiTeam; ArchiveTeam) wikiteam3dumpgenerator (+github.com/saveweb/wikiteam3; +wiki.archiveteam.org/index.php/wikiTeam) We respect HTTP Retry-After header",
help="User-Agent to use for requests (default: wikiteam3/<version> ...)",
# help="User-Agent to use for requests (default: wikiteam3/<version> ...)",
help=argparse.SUPPRESS, # private option
)
parser.add_argument(
"--verbose", action="store_true", help=""
Expand Down

0 comments on commit 8ac253f

Please sign in to comment.