Commit 21c34833 authored by Daniel Truemper's avatar Daniel Truemper

allow optional argument to the feature subcommand

parent 093a1477
......@@ -18,9 +18,12 @@ usage() {
}
parse_args() {
# TODO: Implement the optional base argument
FEATURE="$1"
BASE="develop"
if [ $# -eq 2 ]; then
BASE="$2"
else
BASE="develop"
fi
if [ "$FEATURE" = "" ]; then
echo "Missing argument <release>."
usage
......
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