]> git.notmuchmail.org Git - notmuch/blob - test/T690-command-line-args.sh
cli: change api of parse_option
[notmuch] / test / T690-command-line-args.sh
1 #!/usr/bin/env bash
2
3 test_description="command line arguments"
4 . ./test-lib.sh || exit 1
5
6 NOTMUCH_NEW > /dev/null
7
8 test_begin_subtest 'bad option to show'
9 notmuch show --frobnicate >& OUTPUT
10 cat <<EOF > EXPECTED
11 Unrecognized option: --frobnicate
12 EOF
13 test_expect_equal_file EXPECTED OUTPUT
14
15 test_done