Revision: 728
          
http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=728
Author:   iank
Date:     2023-12-14 18:01:21 -0500 (Thu, 14 Dec 2023)
Log Message:
-----------
clarify getops usage

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 22:31:20 UTC (rev 
727)
+++ trunk/sviki/fsf/bash-style-guide.mdwn       2023-12-14 23:01:21 UTC (rev 
728)
@@ -456,9 +456,9 @@
 
 Use double-equal for string equality, eg: `\[[ $x == 2 ]]`.
 
-Use GNU getopts whenever there is more than one option, or an option and
-an argument. Reference info at:
-/usr/share/doc/util-linux/examples/
+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/` .
 
 ```
 usage() {


Reply via email to