Debian Codegraph @

test/rcup-usage.t

raw
1 $ . "$TESTDIR/helper.sh"
2
3 -h should output usage information and exit 0
4
5 $ rcup -h
6 Usage: rcup [-CfhiKkqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT] [-s EXCL_PAT] [-t TAG] [-U EXCL_PAT] [-u EXCL_PAT] [-x EXCL_PAT]
7 see rcup(1) and rcm(7) for more details
8
9 Unsupported options should output usage information and exit EX_USAGE
10
11 $ rcup --version
12 Usage: rcup [-CfhiKkqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT] [-s EXCL_PAT] [-t TAG] [-U EXCL_PAT] [-u EXCL_PAT] [-x EXCL_PAT]
13 see rcup(1) and rcm(7) for more details
14 [64]