From 1d33b7a6a874db9775d296da57009067dfc36c25 Mon Sep 17 00:00:00 2001 From: pingou Date: Nov 17 2010 14:33:22 +0000 Subject: - Add the -v/--verbose option --- diff --git a/devel/R2rpm b/devel/R2rpm index 0aa475f..e5a07eb 100644 --- a/devel/R2rpm +++ b/devel/R2rpm @@ -43,6 +43,9 @@ def getArgument(): parser.add_option("--mock", dest="mock", default=False, help="Mock config file to build the RPMs, if not specified it uses rpmbuild (default)") + parser.add_option("-v", "--verbose", dest="verbose", default=False, action="store_true", + help="Increase the output for debugging or just curiosity") + return parser.parse_args() ################################################ diff --git a/devel/R2spec b/devel/R2spec index 503aae3..0a017d4 100644 --- a/devel/R2spec +++ b/devel/R2spec @@ -36,6 +36,9 @@ def getArgument(): help="Do not add the suggested dependencies as Requires and BuildRequires in the spec (default False)") parser.add_option("-f", "--force", dest="force", default=False, action="store_true", help="Create the spec file even if a file of the same name exists already in the working directory") + + parser.add_option("-v", "--verbose", dest="verbose", default=False, action="store_true", + help="Increase the output for debugging or just curiosity") return parser.parse_args() ################################################