Merge pull request #700 from evgeni/create-box-help

catch -h/--help passed to create_box.sh and output usage
This commit is contained in:
Gerben Meijer 2016-12-01 13:06:56 +01:00 committed by GitHub
commit 4caf672829

View File

@ -32,7 +32,7 @@ isabspath(){
[[ "$path" =~ ^/.* ]]
}
if [ -z "$1" ]; then
if [ -z "$1" ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
usage
exit 1
fi