]> git.tuebingen.mpg.de Git - gsu.git/commit
gsu: Improve documentation of gsu_getopts().
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 25 Aug 2014 20:24:07 +0000 (22:24 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 29 Aug 2014 19:39:58 +0000 (21:39 +0200)
commit844b7a202a39530d00aa191bae9e3d4189b89049
treee2a9f05f27acc97af9a4ac9f46f89c4222b15d0d
parent78b228b3b32eec0578f87f7bf7407691d610bcad
gsu: Improve documentation of gsu_getopts().

The sentence which explains how $o_X is set for both types of options
was rather confusing. The new text should be better.

While we're at it,
* mention that getopts is a bash builtin
* switch to "modern" ((expr)) arithmetic evaluation in example
* use '' to quote constants in example
misc/gsu/subcommand