diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-05-21 01:26:52 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-05-21 01:26:53 +0300 |
commit | 4976f244f3cd8a9161fdbcc3cfd1ed7b65bb349e (patch) | |
tree | e379593c50747e24ecb5b8ff1c8e7c454225dde3 /t | |
parent | 796388bebdd4942a689a9356e26dbb0d8affea08 (diff) | |
parent | 6b52f48b8f1cda8d428d3e4fe685bd28713f293f (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-x | t/t0012-help.sh | 2 |
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: |