File: rcup-usage.t

package info (click to toggle)
rcm 1.3.4-2
  • links: PTS
  • area: main
  • in suites: sid
  • size: 456 kB
  • sloc: sh: 984; makefile: 55; ruby: 34
file content (14 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (3)
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] [-s EXCL_PAT] [-t TAG] [-U EXCL_PAT] [-u EXCL_PAT] [-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] [-s EXCL_PAT] [-t TAG] [-U EXCL_PAT] [-u EXCL_PAT] [-x EXCL_PAT]
  see rcup(1) and rcm(7) for more details
  [64]