summaryrefslogtreecommitdiff
path: root/git-p4.py
diff options
context:
space:
mode:
authorPete Wyckoff <pw@padd.com>2012-09-09 16:16:10 -0400
committerJunio C Hamano <gitster@pobox.com>2012-09-16 21:52:52 -0700
commitb0ccc80d3cd12e41eaa9bc643b3aec3f50d134d8 (patch)
tree7e5fbf3c6968b1273251a4d3af8bba9d076ac6e9 /git-p4.py
parentdf9c5453b220923d7ec3e6291498d519596e23ed (diff)
downloadgit-b0ccc80d3cd12e41eaa9bc643b3aec3f50d134d8.tar.gz
git p4: accept -v for --verbose
The short form "-v" is common in many git commands as an alias for "--verbose". Signed-off-by: Pete Wyckoff <pw@padd.com> Acked-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-p4.py')
-rwxr-xr-xgit-p4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-p4.py b/git-p4.py
index 60012bc63c..464f64da95 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -3028,7 +3028,7 @@ def main():
args = sys.argv[2:]
- options.append(optparse.make_option("--verbose", dest="verbose", action="store_true"))
+ options.append(optparse.make_option("--verbose", "-v", dest="verbose", action="store_true"))
if cmd.needsGit:
options.append(optparse.make_option("--git-dir", dest="gitdir"))