gsu subcommand: Use gsu_getopts.
authorAndre Noll <maan@systemlinux.org>
Sun, 9 Oct 2011 16:52:03 +0000 (18:52 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 29 Aug 2014 19:39:58 +0000 (21:39 +0200)
commitc2d03a6157867608fe2daef1c8bbfc3d727c0d72
tree13797a73f309db0eda42811fb4bd57d8027edeb8
parentf4d2c03b5e733444d1ed925f7bef3d981de27103
gsu subcommand: Use gsu_getopts.

This makes the prefs command error out on invalid options
and avoids the expansion of the possibly unset parameter $1.
misc/gsu/subcommand