]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bash-completion/vmspawn: insert missing space between options
authorKai Lüke <kailueke@riseup.net>
Wed, 28 Jan 2026 10:48:00 +0000 (19:48 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Jan 2026 10:48:48 +0000 (19:48 +0900)
Follow-up for 3b18a8795df525f1e10528f8c056f1e49a1d9bfe.

shell-completion/bash/systemd-vmspawn

index 52c3a84e36c0759c62d7d04b3d55b0781f02531f..5cbb342d1e4ba82fa5306e1804c52ac0e6bed16d 100644 (file)
@@ -36,7 +36,7 @@ _systemd_vmspawn() {
         [BIND]='--bind --bind-ro'
         [SSH_KEY]='--ssh-key'
         [CONSOLE]='--console'
-        [ARG]='--cpus --ram --vsock-cid -M --machine --uuid--private-users --background --set-credential --load-credential'
+        [ARG]='--cpus --ram --vsock-cid -M --machine --uuid --private-users --background --set-credential --load-credential'
     )
 
     _init_completion || return
@@ -56,6 +56,8 @@ _systemd_vmspawn() {
         comps='dsa ecdsa ecdsa-sk ed25519 ed25519-sk rsa'
     elif __contains_word "$prev" ${OPTS[CONSOLE]}; then
         comps='interactive native gui'
+    elif __contains_word "$prev" ${OPTS[IMAGE_FORMAT]}; then
+        comps='raw qcow2'
     elif __contains_word "$prev" ${OPTS[ARG]}; then
         comps=''
     else