summaryrefslogtreecommitdiff
path: root/test/rcup-usage.t
blob: 336c6681ff2efcf01584db7e254d61335d6dabbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  $ . "$TESTDIR/helper.sh"

-h should output usage information and exit 0

  $ rcup -h
  Usage: rcup [-CfhiKkqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT] [-t TAG] [-x EXCL_PAT]
  see rcup(1) and rcm(7) for more details

Unsupported options should output usage information and exit EX_USAGE

  $ rcup --version
  Usage: rcup [-CfhiKkqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT] [-t TAG] [-x EXCL_PAT]
  see rcup(1) and rcm(7) for more details
  [64]