mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
metadata: make help for metadata -W option clearer
specify possible choices and provide clearer help text
This commit is contained in:
parent
2dcb19d392
commit
0f18005104
@ -1545,5 +1545,5 @@ def write_metadata(metadatapath, app):
|
||||
|
||||
def add_metadata_arguments(parser):
|
||||
'''add common command line flags related to metadata processing'''
|
||||
parser.add_argument("-W", default='error',
|
||||
help=_("force errors to be warnings, or ignore"))
|
||||
parser.add_argument("-W", choices=['error', 'warn', 'ignore'], default='error',
|
||||
help=_("force metadata errors (default) to be warnings, or to be ignored."))
|
||||
|
Loading…
Reference in New Issue
Block a user