From e93b351de20930b836964fee06a136933dea0d53 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Tue, 7 Jun 2011 14:26:48 -0700 Subject: mp.py: Add --nohold option to counter the effect of --holdver --- build_tools/bin/mp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_tools/bin/mp.py b/build_tools/bin/mp.py index 9d52437..62f55a1 100755 --- a/build_tools/bin/mp.py +++ b/build_tools/bin/mp.py @@ -1,5 +1,5 @@ #!/usr/bin/env python2 -# Version 0.6.7 +# Version 0.6.8 import os import sys @@ -96,6 +96,7 @@ def commandline(): clparser.add_option("-g", "--geninteg", action="store_true", default=False, help="For each source file in the source array of PKGBUILD, download the file if required and generate integrity checks.") clparser.add_option("--skipinteg", action="store_true", default=False, help="Do not perform any integrity checks, just print a warning instead.") clparser.add_option("--holdver", action="store_true", default=True, help="Prevents makepkg from automatically bumping the pkgver to the latest revision number in the package's development tree.") + clparser.add_option("--nohold", action="store_false", dest="holdver", help="Automatically bump the pkgver to the latest revision number in the package's development tree.") clparser.add_option("-i", "--install", action="store_true", default=False, help="Install or upgrade the package after a successful build.") clparser.add_option("-L", "--log", action="store_true", default=True, help="Enable makepkg build logging.") clparser.add_option("-m", "--nocolor", action="store_true", default=False, help="Disable color in output messages.") -- cgit v0.12