[Pkg-mozext-commits] [adblock-plus] 151/464: Accept "build.py -h" or "build.py --help" as an alternative to "build.py help"
David Prévot
taffit at moszumanska.debian.org
Tue Jul 22 20:44:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 32de8c2b1d65dc41d07457b1351d2ef01cd76795
Author: Wladimir Palant <trev at adblockplus.org>
Date: Mon May 16 17:12:25 2011 +0200
Accept "build.py -h" or "build.py --help" as an alternative to "build.py help"
---
build.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.py b/build.py
index f74abc9..f349237 100644
--- a/build.py
+++ b/build.py
@@ -176,7 +176,7 @@ No command given, assuming "build". For a list of commands run:
''' % scriptName
command = args[0]
- if command == 'help':
+ if command == 'help' or command == '--help' or command == '-h':
usage(scriptName)
elif command == 'build':
runBuild(baseDir, scriptName, args[1:])
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list