mirror of
https://github.com/git/git.git
synced 2026-04-08 16:00:09 +02:00
Merge branch 'gf/shorthand-version-and-help'
"git -v" and "git -h" are now understood as "git --version" and "git --help". * gf/shorthand-version-and-help: cli: add -v and -h shorthands
This commit is contained in:
@@ -181,7 +181,7 @@ for cmd in git "git help"
|
||||
do
|
||||
test_expect_success "'$cmd' section spacing" '
|
||||
test_section_spacing_trailer git help <<-\EOF &&
|
||||
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
|
||||
usage: git [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]
|
||||
|
||||
These are common Git commands used in various situations:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user