diff options
author | Helmut Grohne <helmut@subdivi.de> | 2025-06-26 07:39:25 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2025-06-26 07:39:25 +0200 |
commit | 043accf447edcb576eb343a9437990f2754b9b7a (patch) | |
tree | bbc3b8d47a9514bd73ddb15cf3ba5a261fcf5de8 /bin/debefivm-run | |
parent | efcb5f25dcaef94ffb252227e5f9f707ec89ce35 (diff) | |
parent | e1b872af41b082d850320024da6f02242435b029 (diff) | |
download | debvm-043accf447edcb576eb343a9437990f2754b9b7a.tar.gz |
Merge main into bookworm-backports and release as 0.4.5~bpo12+1
Diffstat (limited to 'bin/debefivm-run')
-rwxr-xr-x | bin/debefivm-run | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/bin/debefivm-run b/bin/debefivm-run index c93d7d2..50e87de 100755 --- a/bin/debefivm-run +++ b/bin/debefivm-run @@ -165,14 +165,22 @@ while getopts :a:gi:s:-: OPTCHAR; do graphical|help) "opt_$OPTARG" ;; - architecture|efi-vars|image|netopt|skip|sshport|transport) + architecture|image|netopt|skip|sshport|transport) test "$OPTIND" -gt "$#" && usage_error "missing argument for --$OPTARG" "opt_$OPTARG" "$(nth_arg "$OPTIND" "$@")" OPTIND=$((OPTIND+1)) ;; - architecture=*|efi-vars=*|image=*|netopt=*|skip=*|sshport=*|transport=*) + efi-vars) + test "$OPTIND" -gt "$#" && usage_error "missing argument for --$OPTARG" + opt_efi_vars "$(nth_arg "$OPTIND" "$@")" + OPTIND=$((OPTIND+1)) + ;; + architecture=*|image=*|netopt=*|skip=*|sshport=*|transport=*) "opt_${OPTARG%%=*}" "${OPTARG#*=}" ;; + efi-vars=*) + opt_efi_vars "${OPTARG#*=}" + ;; *) usage_error "unrecognized option --$OPTARG" ;; |