Default to help when no command is passed in

This commit is contained in:
Bruno Tavares 2014-03-19 12:32:35 -03:00
parent ac1009f77a
commit d3e22282b6

View File

@ -26,7 +26,7 @@ else
curr_dir=$(dirname `readlink -f "$path_to_kickstart"`) curr_dir=$(dirname `readlink -f "$path_to_kickstart"`)
fi fi
command=$1 command=${1:-help}
shift shift
command_file="$curr_dir"/../lib/kickstart-$command command_file="$curr_dir"/../lib/kickstart-$command