File: mkrc-usage.t

package info (click to toggle)
rcm 1.3.4-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 456 kB
  • sloc: sh: 984; makefile: 55; ruby: 34
file content (21 lines) | stat: -rw-r--r-- 602 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  $ . "$TESTDIR/helper.sh"

no arguments should output usage information and exit EX_USAGE

  $ mkrc
  Usage: mkrc [-ChSsUuVvqo] [-t TAG] [-d DIR] [-B HOSTNAME] FILES ...
  see mkrc(1) and rcm(7) for more details
  [64]

-h should output usage information and exit 0

  $ mkrc -h
  Usage: mkrc [-ChSsUuVvqo] [-t TAG] [-d DIR] [-B HOSTNAME] FILES ...
  see mkrc(1) and rcm(7) for more details

Unsupported options should output usage information and exit EX_USAGE

  $ mkrc --version
  Usage: mkrc [-ChSsUuVvqo] [-t TAG] [-d DIR] [-B HOSTNAME] FILES ...
  see mkrc(1) and rcm(7) for more details
  [64]