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>
Pete Wyckoff committed
Sep 9, 2012 at 16:16 UTC
b0ccc80d3cd12e41eaa9bc643b3aec3f50d134d8
2 files changed
+2
-2
Documentation/git-p4.txt
+1
-1
@@ -163,7 +163,7 @@ All commands except clone accept these options.
163
--git-dir <dir>::
164
Set the 'GIT_DIR' environment variable. See linkgit:git[1].
165
166
---verbose::
166
+--verbose, -v::
167
Provide more progress information.
168
169
Sync options
git-p4.py
+1
-1
@@ -3028,7 +3028,7 @@ def main():
3028
3029
args = sys.argv[2:]
3030
3031
- options.append(optparse.make_option("--verbose", dest="verbose", action="store_true"))
3031
+ options.append(optparse.make_option("--verbose", "-v", dest="verbose", action="store_true"))
3032
if cmd.needsGit:
3033
options.append(optparse.make_option("--git-dir", dest="gitdir"))
3034