Verified Commit 45f6f441 authored by Adam Mercer's avatar Adam Mercer
Browse files

restructure option help

parent a0e4d0d4
......@@ -44,10 +44,11 @@ def parse_options():
parser.add_argument('-v', '--verbose', action='store_true',
help='increase verbosity level')
parser.add_argument('--version', action='version', version=__version__)
parser.add_argument('srpm', help='Source RPM to build with Koji')
koji_options = parser.add_argument_group('Koji Options')
koji_options.add_argument('--target', default=__target__,
help='Koji tag to tag (%s)' % __target__)
source_options = parser.add_argument_group('Source Options')
source_options.add_argument('srpm', help='Source RPM to build with Koji')
# parse options
args = parser.parse_args()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment