savannah-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-cvs] [729] simplify getopt documentation


From: iank
Subject: [Savannah-cvs] [729] simplify getopt documentation
Date: Mon, 18 Dec 2023 23:38:08 -0500 (EST)

Revision: 729
          
http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=729
Author:   iank
Date:     2023-12-18 23:38:07 -0500 (Mon, 18 Dec 2023)
Log Message:
-----------
simplify getopt documentation

Modified Paths:
--------------
    trunk/sviki/fsf/bash-style-guide.mdwn

Modified: trunk/sviki/fsf/bash-style-guide.mdwn
===================================================================
--- trunk/sviki/fsf/bash-style-guide.mdwn       2023-12-14 23:01:21 UTC (rev 
728)
+++ trunk/sviki/fsf/bash-style-guide.mdwn       2023-12-19 04:38:07 UTC (rev 
729)
@@ -456,9 +456,9 @@
 
 Use double-equal for string equality, eg: `\[[ $x == 2 ]]`.
 
-Use GNU getopts when there is more than one option, or an option and
-an argument. The below snippet is a good template. Reference info on
-most distros is at `/usr/share/doc/util-linux/examples/` .
+Use getopt to parse options when the script supports 2 or more
+arguments. The below snippet is a good template. Reference info on most
+distros is at `/usr/share/doc/util-linux/examples/` .
 
 ```
 usage() {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]