diff --git a/vmcreate1.sh b/vmcreate1.sh index 7152978..0fd70e1 100644 --- a/vmcreate1.sh +++ b/vmcreate1.sh @@ -14,7 +14,7 @@ show_help() # Обрабатываем опции while getopts "a:f:h" opt; do case $opt in - a) haadd=true; ;; + a) harule=$OPTARG; ;; f) file="$OPTARG" ;; h) show_help ; exit 0;; # *) noopts=true