mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-17 04:30: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
|
|
@ -49,8 +49,7 @@ def main():
|
|||
|
||||
global config, options
|
||||
|
||||
# Parse command line...
|
||||
parser = ArgumentParser(usage="%(prog)s [options] [APPID [APPID ...]]")
|
||||
parser = ArgumentParser()
|
||||
common.setup_global_opts(parser)
|
||||
parser.add_argument("-l", "--list", action="store_true", default=False,
|
||||
help=_("List files that would be reformatted"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue