genfstab: specify proper grammar in usage

bash getopts stops parsing options at the first non-option argument.
Rather than import some overblown option parser such as the one used in
makepkg or mkinitcpio, just correct the usage.

FS#31862.
This commit is contained in:
Dave Reisner 2012-10-09 12:06:48 -04:00
parent 298e04aabc
commit 65b689bda9

View File

@ -37,7 +37,7 @@ write_source() {
usage() {
cat <<EOF
usage: ${0##*/} root [options]
usage: ${0##*/} [options] root
Options:
-L Use labels for source identifiers