Skip to content

Commit

Permalink
git p4: accept -v for --verbose
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pete Wyckoff authored and Junio C Hamano committed Sep 17, 2012
1 parent df9c545 commit b0ccc80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/git-p4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion git-p4.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand Down

0 comments on commit b0ccc80

Please sign in to comment.