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. --- bin/lsrc.in | 2 +- bin/rcdn.in | 2 +- bin/rcup.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/lsrc.in b/bin/lsrc.in index db5dcd0..ad40b5e 100755 --- a/bin/lsrc.in +++ b/bin/lsrc.in @@ -214,7 +214,7 @@ is_excluded() { show_help() { local exit_code=${1:-0} - $PRINT "Usage: lsrc [-FhqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT ] [-t TAG] [-x EXCL_PAT]" + $PRINT "Usage: lsrc [-FhqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT ] [-s EXCL_PAT] [-t TAG] [-x EXCL_PAT]" $PRINT "see lsrc(1) and rcm(7) for more details" exit $exit_code diff --git a/bin/rcdn.in b/bin/rcdn.in index 5596050..91223fa 100755 --- a/bin/rcdn.in +++ b/bin/rcdn.in @@ -21,7 +21,7 @@ remove_link() { show_help() { local exit_code=${1:-0} - $PRINT "Usage: rcdn [-hqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT] [-t TAG] [-x EXCL_PAT]" + $PRINT "Usage: rcdn [-hKkqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT] [-s EXCL_PAT] [-t TAG] [-x EXCL_PAT]" $PRINT "see rcdn(1) and rcm(7) for more details" exit $exit_code diff --git a/bin/rcup.in b/bin/rcup.in index 80e55f3..c990ac7 100755 --- a/bin/rcup.in +++ b/bin/rcup.in @@ -171,7 +171,7 @@ handle_file() { show_help() { local exit_code=${1:-0} - $PRINT "Usage: rcup [-CfhiKkqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT] [-t TAG] [-x EXCL_PAT]" + $PRINT "Usage: rcup [-CfghiKkqVv] [-B HOSTNAME] [-d DOT_DIR] [-I EXCL_PAT] [-S EXCL_PAT] [-s EXCL_PAT] [-t TAG] [-x EXCL_PAT]" $PRINT "see rcup(1) and rcm(7) for more details" exit $exit_code -- cgit v1.2.3