website-doc.sh: print usage when no argument is given

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2016-09-21 04:11:17 +02:00
parent 276aa276ce
commit 7da576e2be

View File

@ -126,7 +126,7 @@ function releases () {
exit_code=0
test "n$ARGS" = 'n' && ARG='usage' # no option passed
test "n$ARGS" = 'n' && ARGS='usage' # no option passed
for arg in $ARGS
do
# PWD was fixed at the very beginning.