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

no arguments should output usage information and exit 1

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

-h should output usage information and exit 0

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