Default to help when no command is passed in
This commit is contained in:
parent
ac1009f77a
commit
d3e22282b6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user