Verified Commit 7a3f70fa authored by Adam Mercer's avatar Adam Mercer
Browse files

consistent formatting

parent e27d56cb
......@@ -68,21 +68,36 @@ DEFAULT_TARGET = "sandox"
def parse_options():
# define option parser
parser = argparse.ArgumentParser(description='Build RPMs using Koji')
parser.add_argument('-V', '--version', action='version',
version=__version__,
help='show version number and exit')
parser.add_argument('-v', '--verbose', action='count', default=2,
help='show verbose output, give once for INFO, '
'give twice for DEBUG')
parser.add_argument(
'-V', '--version',
action='version',
version=__version__,
help='show version number and exit'
)
parser.add_argument(
'-v', '--verbose',
action='count',
default=2,
help='show verbose output, give once for INFO, give twice for DEBUG'
)
# koji options
koji_options = parser.add_argument_group('Koji Options')
koji_options.add_argument('--target', default=DEFAULT_TARGET,
help='koji tag to tag (default: %(default)s)')
koji_options.add_argument('--owner', help='koji package owner')
koji_options.add_argument('--scratch', action='store_true', default=False,
help='perform a scratch build '
'(default: %(default)s)')
koji_options.add_argument(
'--target',
default=DEFAULT_TARGET,
help='koji tag to tag (default: %(default)s)'
)
koji_options.add_argument(
'--owner',
help='koji package owner'
)
koji_options.add_argument(
'--scratch',
action='store_true',
default=False,
help='perform a scratch build (default: %(default)s)'
)
# source options
source_options = parser.add_argument_group('Source Options')
......
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