summaryrefslogtreecommitdiff
path: root/lib/common.sh
diff options
context:
space:
mode:
authorJoel Teichroeb <joel@teichroeb.net>2014-05-04 09:31:53 -0700
committerPierre Schmitz <pierre@archlinux.de>2014-05-10 08:00:56 +0200
commitfdd079f3d542dbce6898512298b4271eb9e7d0d9 (patch)
tree89be6b28e77ed2a9d4b031b9c0bb2f7240f4f0e2 /lib/common.sh
parent9f7ba3d40791ca81ebd47e3278f02d4a61e38179 (diff)
downloaddevtools32-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