X-Git-Url: http://xvm.mit.edu/gitweb/invirt/scripts/invirt-admin.git/blobdiff_plain/c8a0789183a6384280e164ca0e1cd9bf136e5d52..b2b68e789e1f35b59ce540f7cc0f32d4e4c8986e:/invirt-admin diff --git a/invirt-admin b/invirt-admin index 91c73c7..64b02ee 100755 --- a/invirt-admin +++ b/invirt-admin @@ -8,7 +8,7 @@ usage () { echo " required options: --name, --fs-size, --swap-size, --memory," echo " --hostname, --ip, --mac, --arch, --dist, --mirror" echo - echo " fs-size, swap-size, memory in MB" + echo " fs-size, swap-size, memory in MiB" echo " fs-size + swap-size will be total disk-image size" exit 2 } @@ -32,6 +32,11 @@ while [ $# -gt 0 ]; do --arch) arch=$2; shift 2;; --dist) dist=$2; shift 2;; --mirror) mirror=$2; shift 2;; + *) + echo "Unknown option: $1" + echo + usage + ;; esac done if [ -z "$name" ]; then