We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f9d80f commit 9a22b4dCopy full SHA for 9a22b4d
t/t0040-parse-options.sh
@@ -500,7 +500,6 @@ test_expect_success 'KEEP_UNKNOWN_OPT works' '
500
501
test_expect_success 'NO_INTERNAL_HELP works for -h' '
502
test_expect_code 129 test-tool parse-options-flags --no-internal-help cmd -h 2>err &&
503
- cat err &&
504
grep "^error: unknown switch \`h$SQ" err &&
505
grep "^usage: " err
506
'
@@ -509,7 +508,6 @@ for help_opt in help help-all
509
508
do
510
test_expect_success "NO_INTERNAL_HELP works for --$help_opt" "
511
test_expect_code 129 test-tool parse-options-flags --no-internal-help cmd --$help_opt 2>err &&
512
513
grep '^error: unknown option \`'$help_opt\' err &&
514
grep '^usage: ' err
515
"
0 commit comments