diff options
author | Pete Wyckoff <pw@padd.com> | 2012-09-09 16:16:10 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-16 21:52:52 -0700 |
commit | b0ccc80d3cd12e41eaa9bc643b3aec3f50d134d8 (patch) | |
tree | 7e5fbf3c6968b1273251a4d3af8bba9d076ac6e9 | |
parent | df9c5453b220923d7ec3e6291498d519596e23ed (diff) | |
download | git-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>
-rw-r--r-- | Documentation/git-p4.txt | 2 | ||||
-rwxr-xr-x | git-p4.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-p4.txt b/Documentation/git-p4.txt index 8228f33e3f..4b03356a3a 100644 --- a/Documentation/git-p4.txt +++ b/Documentation/git-p4.txt @@ -163,7 +163,7 @@ All commands except clone accept these options. --git-dir <dir>:: Set the 'GIT_DIR' environment variable. See linkgit:git[1]. ---verbose:: +--verbose, -v:: Provide more progress information. Sync options @@ -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")) |