summaryrefslogtreecommitdiff
path: root/t/t0012-help.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t0012-help.sh')
-rwxr-xr-xt/t0012-help.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t0012-help.sh b/t/t0012-help.sh
index 920a663..8faba2e 100755
--- a/t/t0012-help.sh
+++ b/t/t0012-help.sh
@@ -41,4 +41,12 @@ test_expect_success "--exclude-guides does not work for guides" '
test_must_be_empty test-browser.log
'
+test_expect_success "--help does not work for guides" "
+ cat <<-EOF >expect &&
+ git: 'revisions' is not a git command. See 'git --help'.
+ EOF
+ test_must_fail git revisions --help 2>actual &&
+ test_i18ncmp expect actual
+"
+
test_done