3 test_description="online help"
6 test_expect_success 'notmuch --help' 'notmuch --help'
7 test_expect_success 'notmuch --help tag' 'notmuch --help tag'
8 test_expect_success 'notmuch help' 'notmuch help'
9 test_expect_success 'notmuch help tag' 'notmuch help tag'
10 test_expect_success 'notmuch --version' 'notmuch --version'
12 test_begin_subtest "notmuch --stderr=stderr help %"
13 notmuch --stderr=stderr help %
14 test_expect_equal "$(cat stderr)" "
15 Sorry, % is not a known command. There's not much I can do to help."
17 test_begin_subtest "notmuch --stderr=- help %"
18 test_expect_equal "$(notmuch --stderr=- help %)" "
19 Sorry, % is not a known command. There's not much I can do to help."