Skip to content

Commit b0ccc80

Browse files
Pete Wyckoffgitster
authored andcommitted
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 <[email protected]> Acked-by: Luke Diamand <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent df9c545 commit b0ccc80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/git-p4.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ All commands except clone accept these options.
163163
--git-dir <dir>::
164164
Set the 'GIT_DIR' environment variable. See linkgit:git[1].
165165

166-
--verbose::
166+
--verbose, -v::
167167
Provide more progress information.
168168

169169
Sync options

git-p4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3028,7 +3028,7 @@ def main():
30283028

30293029
args = sys.argv[2:]
30303030

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"))
30323032
if cmd.needsGit:
30333033
options.append(optparse.make_option("--git-dir", dest="gitdir"))
30343034

0 commit comments

Comments
 (0)