rename --specfile to --winspec so we can use --specfile for wrapper rpms, for consistency with maven-build

This commit is contained in:
Mike Bonnet 2010-09-13 17:23:49 -04:00
parent f37b8184e5
commit 68007995d4
3 changed files with 10 additions and 10 deletions

View file

@ -4334,9 +4334,9 @@ def handle_win_build(options, session, args):
usage += _("\n(Specify the --help global option for a list of other " +
"help options)")
parser = OptionParser(usage=usage)
parser.add_option("--specfile", metavar="URL",
parser.add_option("--winspec", metavar="URL",
help=_("SCM URL to retrieve the build descriptor from. " + \
"Otherwise it must be in the root directory " + \
"If not specified, the winspec must be in the root directory " + \
"of the source repository."))
parser.add_option("--patches", metavar="URL",
help=_("SCM URL of a directory containing patches to apply " + \
@ -4381,7 +4381,7 @@ def handle_win_build(options, session, args):
scmurl = args[1]
vm_name = args[2]
opts = {}
for key in ('specfile', 'patches', 'cpus', 'mem',
for key in ('winspec', 'patches', 'cpus', 'mem',
'scratch', 'repo_id', 'skip_tag'):
val = getattr(build_opts, key)
if val is not None: