summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2014-11-14 14:45:40 +0100
committerGravatar Mike Burns <mike@mike-burns.com>2014-11-14 14:45:40 +0100
commit94cc84c0a669c3040215653fbaf44feb939bbe05 (patch)
treee934d92fd7c797202ef58f37104e3ccfaacead2e /test
parenteef64f4055936fbae9ed582673754648c6a5116d (diff)
Update usage messages
Various flags were missing from usage messages across the system; `-g` and `-s` were the most notable ones. Add them to the appropriate usage messages. Spotted by Christopher Koch.
Diffstat (limited to 'test')
-rw-r--r--test/lsrc-usage.t4
-rw-r--r--test/rcup-usage.t4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/lsrc-usage.t b/test/lsrc-usage.t
index 1e01993..7d54be8 100644
--- a/test/lsrc-usage.t
+++ b/test/lsrc-usage.t
@@ -3,12 +3,12 @@
-h should output usage information and exit 0
$ lsrc -h
- Usage: lsrc [-FhqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT ] [-t TAG] [-x EXCL_PAT]
+ Usage: lsrc [-FhqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT ] [-s EXCL_PAT] [-t TAG] [-x EXCL_PAT]
see lsrc(1) and rcm(7) for more details
Unsupported options should output usage information and exit EX_USAGE
$ lsrc --version
- Usage: lsrc [-FhqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT ] [-t TAG] [-x EXCL_PAT]
+ Usage: lsrc [-FhqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT ] [-s EXCL_PAT] [-t TAG] [-x EXCL_PAT]
see lsrc(1) and rcm(7) for more details
[64]
diff --git a/test/rcup-usage.t b/test/rcup-usage.t
index 336c668..fb0b78f 100644
--- a/test/rcup-usage.t
+++ b/test/rcup-usage.t
@@ -3,12 +3,12 @@
-h should output usage information and exit 0
$ rcup -h
- Usage: rcup [-CfhiKkqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT] [-t TAG] [-x EXCL_PAT]
+ Usage: rcup [-CfghiKkqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S 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]
+ Usage: rcup [-CfghiKkqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT] [-s EXCL_PAT] [-t TAG] [-x EXCL_PAT]
see rcup(1) and rcm(7) for more details
[64]