Commit 2d2abf12 authored by Drew's avatar Drew

Emit warnings for unknown arguments

parent 20cec5e8
Pipeline #1866 passed with stage
...@@ -62,8 +62,13 @@ fi ...@@ -62,8 +62,13 @@ fi
shift shift
fi fi
;; ;;
*) *)
break # default case; break out of the loop if [ "$1" == "" ]; then
break
fi
echo "warning: unknown option $1"
shift
esac esac
shift shift
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment