mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
use ArgumentParser's own "usage" line in help output
This commit is contained in:
parent
b23cf9f8ad
commit
fede58a710
10 changed files with 10 additions and 14 deletions
|
@ -41,7 +41,7 @@ def _run_wget(path, urls):
|
|||
def main():
|
||||
global options
|
||||
|
||||
parser = ArgumentParser(usage=_("%(prog)s [options] url"))
|
||||
parser = ArgumentParser()
|
||||
common.setup_global_opts(parser)
|
||||
parser.add_argument("url", nargs='?',
|
||||
help=_('Base URL to mirror, can include the index signing key '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue