Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-05-21 01:26:52 +0300
committerJunio C Hamano <gitster@pobox.com>2022-05-21 01:26:53 +0300
commit4976f244f3cd8a9161fdbcc3cfd1ed7b65bb349e (patch)
treee379593c50747e24ecb5b8ff1c8e7c454225dde3 /t
parent796388bebdd4942a689a9356e26dbb0d8affea08 (diff)
parent6b52f48b8f1cda8d428d3e4fe685bd28713f293f (diff)
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
Diffstat (limited to 't')
-rwxr-xr-xt/t0012-help.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0012-help.sh b/t/t0012-help.sh
index 6c3e1f7159..6c33a43690 100755
--- a/t/t0012-help.sh
+++ b/t/t0012-help.sh
@@ -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: