From 94cc84c0a669c3040215653fbaf44feb939bbe05 Mon Sep 17 00:00:00 2001 From: Mike Burns Date: Fri, 14 Nov 2014 14:45:40 +0100 Subject: 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. --- test/lsrc-usage.t | 4 ++-- test/rcup-usage.t | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') 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] -- cgit v1.2.3