summaryrefslogtreecommitdiff
path: root/test/mkrc-usage.t
blob: c9ede8d608be2ecc60bb9d061dac24409158c098 (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 [-hvqo] [-t TAG] [-d DIR] FILES ...
  see mkrc(1) and rcm(5) for more details
  [1]

-h should output usage information and exit 0

  $ mkrc -h
  Usage: mkrc [-hvqo] [-t TAG] [-d DIR] FILES ...
  see mkrc(1) and rcm(5) for more details