From 1ab5f9b70555b113891cd0e283eae62631692b68 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 3 Nov 2020 15:23:03 +0100 Subject: [PATCH] docs: rename to getopt-example Addresses: https://github.com/karelzak/util-linux/commit/27114b297424ecf1b745b1a71f6d40be0e56e67e#commitcomment-43591002 Signed-off-by: Karel Zak --- misc-utils/getopt-example.bash | 4 ++-- misc-utils/getopt-example.tcsh | 4 ++-- tests/ts/getopt/basic | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/misc-utils/getopt-example.bash b/misc-utils/getopt-example.bash index db8bf6b594..0870882af0 100644 --- a/misc-utils/getopt-example.bash +++ b/misc-utils/getopt-example.bash @@ -3,11 +3,11 @@ # A small example script for using the getopt(1) program. # This script will only work with bash(1). # A similar script using the tcsh(1) language can be found -# as getopt-parse.tcsh. +# as getopt-example.tcsh. # Example input and output (from the bash prompt): # -# ./getopt-parse.bash -a par1 'another arg' --c-long 'wow!*\?' -cmore -b " very long " +# ./getopt-example.bash -a par1 'another arg' --c-long 'wow!*\?' -cmore -b " very long " # Option a # Option c, no argument # Option c, argument 'more' diff --git a/misc-utils/getopt-example.tcsh b/misc-utils/getopt-example.tcsh index 032d7ac081..2b822943fd 100644 --- a/misc-utils/getopt-example.tcsh +++ b/misc-utils/getopt-example.tcsh @@ -3,10 +3,10 @@ # A small example script for using the getopt(1) program. # This script will only work with tcsh(1). # A similar script using the bash(1) language can be found -# as getopt-parse.bash. +# as getopt-example.bash. # Example input and output (from the tcsh prompt): -# ./parse.tcsh -a par1 'another arg' --c-long 'wow\!*\?' -cmore -b " very long " +# ./getopt-example.tcsh -a par1 'another arg' --c-long 'wow\!*\?' -cmore -b " very long " # Option a # Option c, no argument # Option c, argument `more' diff --git a/tests/ts/getopt/basic b/tests/ts/getopt/basic index a505b89f66..5bd1f50179 100755 --- a/tests/ts/getopt/basic +++ b/tests/ts/getopt/basic @@ -12,7 +12,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# This test script is modified version of 'getopt-parse.bash' example +# This test script is modified version of 'getopt-example.bash' example # file in misc/ directory. TS_TOPDIR="${0%/*}/../.." -- 2.47.2