diff options
author | Joel Teichroeb <joel@teichroeb.net> | 2014-05-04 18:31:53 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2014-05-10 08:00:56 +0200 |
commit | fdd079f3d542dbce6898512298b4271eb9e7d0d9 (patch) | |
tree | 89be6b28e77ed2a9d4b031b9c0bb2f7240f4f0e2 /lib/common.sh | |
parent | 9f7ba3d40791ca81ebd47e3278f02d4a61e38179 (diff) | |
download | devtools-fdd079f3d542dbce6898512298b4271eb9e7d0d9.tar.gz devtools-fdd079f3d542dbce6898512298b4271eb9e7d0d9.tar.xz |
Remove broken unknown arguments check and fix usage
If getopts comes across an unknown argument, $arg it set to '?' and
$OPTARG is unset. Therefore the getopts line detecting unknown arguments
doesn't work. Arguments to pass to makepkg are already handled by
passing all the aguments after the end-of-options marker (--), but this
wasn't documented in the usage text.
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'lib/common.sh')
0 files changed, 0 insertions, 0 deletions