aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/t0012-help.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t0012-help.sh b/t/t0012-help.sh
index 5679e29c62..0525ec3ee5 100755
--- a/t/t0012-help.sh
+++ b/t/t0012-help.sh
@@ -34,6 +34,10 @@ test_expect_success 'basic help commands' '
git help -a >/dev/null
'
+test_expect_success 'invalid usage' '
+ test_expect_code 129 git help -g add
+'
+
test_expect_success "works for commands and guides by default" '
configure_help &&
git help status &&