mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
all: deduplicate -v/-q setup
This commit is contained in:
parent
b42b45f762
commit
576da1d048
17 changed files with 23 additions and 64 deletions
|
|
@ -91,6 +91,13 @@ default_config = {
|
|||
}
|
||||
|
||||
|
||||
def setup_global_opts(parser):
|
||||
parser.add_argument("-v", "--verbose", action="store_true", default=False,
|
||||
help="Spew out even more information than normal")
|
||||
parser.add_argument("-q", "--quiet", action="store_true", default=False,
|
||||
help="Restrict output to warnings and errors")
|
||||
|
||||
|
||||
def fill_config_defaults(thisconfig):
|
||||
for k, v in default_config.items():
|
||||
if k not in thisconfig:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue