diff options
author | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-05-30 17:56:12 +0200 |
---|---|---|
committer | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-05-30 17:56:12 +0200 |
commit | 1d80697535027f5d9307616b7d727b72a429b538 (patch) | |
tree | eb276377400fcad983f247137865c839c69ef736 /MgaRepo/commands | |
parent | dc52b25eb7e98e61d2e7c202a431ec72dc7fa1d2 (diff) | |
download | mgarepo-1d80697535027f5d9307616b7d727b72a429b538.tar mgarepo-1d80697535027f5d9307616b7d727b72a429b538.tar.gz mgarepo-1d80697535027f5d9307616b7d727b72a429b538.tar.bz2 mgarepo-1d80697535027f5d9307616b7d727b72a429b538.tar.xz mgarepo-1d80697535027f5d9307616b7d727b72a429b538.zip |
document buildrpm options
Diffstat (limited to 'MgaRepo/commands')
-rw-r--r-- | MgaRepo/commands/buildrpm.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MgaRepo/commands/buildrpm.py b/MgaRepo/commands/buildrpm.py index b58ac65..b347cc0 100644 --- a/MgaRepo/commands/buildrpm.py +++ b/MgaRepo/commands/buildrpm.py @@ -11,13 +11,16 @@ Builds the binary RPM(s) (.rpm) file(s) of a given package. Options: -l Disable rpmlint check of packages built + -P USER Define the RPM packager information to USER + -q Silent build output + """ def parse_options(): parser = OptionParser(HELP) parser.add_option("-b", dest="build_cmd", default="a") parser.add_option("-P", dest="packager", default="") - parser.add_option("-v", "--verbose", dest="verbose", action="store_true", default=False) + parser.add_option("-q", "--quiet", dest="verbose", action="store_false", default=True) parser.add_option("-l", dest="rpmlint", action="store_false", default=True) opts, args = parser.parse_args() return opts |