summaryrefslogtreecommitdiff
path: root/test/mkrc-usage.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/mkrc-usage.t')
-rw-r--r--test/mkrc-usage.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/mkrc-usage.t b/test/mkrc-usage.t
new file mode 100644
index 0000000..c9ede8d
--- /dev/null
+++ b/test/mkrc-usage.t
@@ -0,0 +1,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