diff --git a/jhablfs b/jhablfs index c45cecf..c35d0dd 100755 --- a/jhablfs +++ b/jhablfs @@ -317,6 +317,11 @@ while test $# -gt 0 ; do ;; esac ;; + + * ) + echo "$usage" + exit 1 + ;; esac shift done @@ -326,8 +331,8 @@ if [ -z $BOOK ] ; then fi [[ ! -d $JHABLFSDIR ]] && mkdir -pv $JHABLFSDIR -[[ "$PWD" != "$JHABLFSDIR" ]] && cp -v $FILES $JHABLFSDIR/ -[[ ! -d $LOGDIR ]] && mkdir -v $LOGDIR +[[ "$PWD" != "$JHABLFSDIR" ]] && cp -v $FILES $JHABLFSDIR +[[ ! -d $LOGDIR ]] && mkdir -v $LOGDIR >$LOGDIR/$LOG get_book