1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Install and lint were missing -q

This commit is contained in:
Daniel Martí 2014-06-12 21:48:45 +02:00
parent 71a09b700e
commit 0c8512ca26
2 changed files with 6 additions and 2 deletions

View File

@ -52,6 +52,8 @@ def main():
parser = OptionParser(usage="Usage: %prog [options] [APPID[:VERCODE] [APPID[:VERCODE] ...]]") parser = OptionParser(usage="Usage: %prog [options] [APPID[:VERCODE] [APPID[:VERCODE] ...]]")
parser.add_option("-v", "--verbose", action="store_true", default=False, parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal") help="Spew out even more information than normal")
parser.add_option("-q", "--quiet", action="store_true", default=False,
help="Restrict output to warnings and errors")
parser.add_option("-a", "--all", action="store_true", default=False, parser.add_option("-a", "--all", action="store_true", default=False,
help="Install all signed applications available") help="Install all signed applications available")
(options, args) = parser.parse_args() (options, args) = parser.parse_args()

View File

@ -150,10 +150,12 @@ def main():
# Parse command line... # Parse command line...
parser = OptionParser(usage="Usage: %prog [options] [APPID [APPID ...]]") parser = OptionParser(usage="Usage: %prog [options] [APPID [APPID ...]]")
parser.add_option("-p", "--pedantic", action="store_true", default=False,
help="Show pedantic warnings that might give false positives")
parser.add_option("-v", "--verbose", action="store_true", default=False, parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal") help="Spew out even more information than normal")
parser.add_option("-q", "--quiet", action="store_true", default=False,
help="Restrict output to warnings and errors")
parser.add_option("-p", "--pedantic", action="store_true", default=False,
help="Show pedantic warnings that might give false positives")
(options, args) = parser.parse_args() (options, args) = parser.parse_args()
config = common.read_config(options) config = common.read_config(options)