From: Pete Wyckoff Date: Sun, 9 Sep 2012 20:16:10 +0000 (-0400) Subject: git p4: accept -v for --verbose X-Git-Tag: v1.8.0-rc0~36^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b0ccc80d3cd12e41eaa9bc643b3aec3f50d134d8;p=git.git 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 Acked-by: Luke Diamand Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-p4.txt b/Documentation/git-p4.txt index 8228f33e3..4b03356a3 100644 --- a/Documentation/git-p4.txt +++ b/Documentation/git-p4.txt @@ -163,7 +163,7 @@ All commands except clone accept these options. --git-dir :: Set the 'GIT_DIR' environment variable. See linkgit:git[1]. ---verbose:: +--verbose, -v:: Provide more progress information. Sync options diff --git a/git-p4.py b/git-p4.py index 60012bc63..464f64da9 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"))