mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 18:19:36 +00:00
Merge pull request #352 from ericchiang/fix-devnet-script-no-args
scripts/devnet: print usage if no arguments are provided
This commit is contained in:
@@ -17,6 +17,10 @@ if [ "$EUID" -ne 0 ]
|
||||
fi
|
||||
|
||||
function main {
|
||||
if [ "$#" -ne 1 ]; then
|
||||
usage
|
||||
exit 2
|
||||
fi
|
||||
case "$1" in
|
||||
"create") create;;
|
||||
"destroy") destroy;;
|
||||
|
||||
Reference in New Issue
Block a user