add -P as an alias for --profile in maven-build

This commit is contained in:
Mike Bonnet 2009-11-05 11:17:55 -05:00
parent db3b2e8e93
commit 49b9678d86

View file

@ -807,7 +807,7 @@ def handle_maven_build(options, session, args):
parser = OptionParser(usage=usage)
parser.add_option("--patches", action="store", metavar="URL",
help=_("SCM URL of a directory containing patches to apply to the sources before building"))
parser.add_option("--profile", action="append",
parser.add_option("-P", "--profile", action="append",
dest="profiles", metavar="PROFILE", default=[],
help=_("Enable a profile for the Maven build"))
parser.add_option("-D", "--property", action="append",