aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <proyvind@moondrake.org>2016-05-30 17:56:12 +0200
committerPer Øyvind Karlsen <proyvind@moondrake.org>2016-05-30 17:56:12 +0200
commit1d80697535027f5d9307616b7d727b72a429b538 (patch)
treeeb276377400fcad983f247137865c839c69ef736
parentdc52b25eb7e98e61d2e7c202a431ec72dc7fa1d2 (diff)
downloadmgarepo-1d80697535027f5d9307616b7d727b72a429b538.tar
mgarepo-1d80697535027f5d9307616b7d727b72a429b538.tar.gz
mgarepo-1d80697535027f5d9307616b7d727b72a429b538.tar.bz2
mgarepo-1d80697535027f5d9307616b7d727b72a429b538.tar.xz
mgarepo-1d80697535027f5d9307616b7d727b72a429b538.zip
document buildrpm options
-rw-r--r--MgaRepo/commands/buildrpm.py5
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