summaryrefslogtreecommitdiff
path: root/test/rcup-usage.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/rcup-usage.t')
-rw-r--r--test/rcup-usage.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/rcup-usage.t b/test/rcup-usage.t
index 1fa8a5a..336c668 100644
--- a/test/rcup-usage.t
+++ b/test/rcup-usage.t
@@ -5,3 +5,10 @@
$ rcup -h
Usage: rcup [-CfhiKkqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT] [-t TAG] [-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] [-t TAG] [-x EXCL_PAT]
+ see rcup(1) and rcm(7) for more details
+ [64]