mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
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:
commit
4caf672829
@ -32,7 +32,7 @@ isabspath(){
|
|||||||
[[ "$path" =~ ^/.* ]]
|
[[ "$path" =~ ^/.* ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
|
||||||
usage
|
usage
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user