]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: rename to getopt-example
authorKarel Zak <kzak@redhat.com>
Tue, 3 Nov 2020 14:23:03 +0000 (15:23 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Nov 2020 14:23:03 +0000 (15:23 +0100)
Addresses: https://github.com/karelzak/util-linux/commit/27114b297424ecf1b745b1a71f6d40be0e56e67e#commitcomment-43591002
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/getopt-example.bash
misc-utils/getopt-example.tcsh
tests/ts/getopt/basic

index db8bf6b59410e69b45b19330fe86cb537554b8bc..0870882af02a7216ed0c1ee9b6771da40c871bae 100644 (file)
@@ -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'
index 032d7ac0812494f8f0bc7648344002a81d635153..2b822943fdc1de04bef219c2c4d8b42a932f63a0 100644 (file)
@@ -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'
index a505b89f66b28b9b71586d6526f07ee0288deab4..5bd1f501794f196cb3f67e4dc54aa181a97da7ba 100755 (executable)
@@ -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%/*}/../.."