From 28846f4e6243651a1df8be755dffc5ab122b9fb8 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 17 Feb 2026 21:50:59 +0000 Subject: [PATCH] bash completion: add missing machinectl parameters --- shell-completion/bash/machinectl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/shell-completion/bash/machinectl b/shell-completion/bash/machinectl index 25de8c5cc53..78319d91a41 100644 --- a/shell-completion/bash/machinectl +++ b/shell-completion/bash/machinectl @@ -38,9 +38,9 @@ _machinectl() { local -A OPTS=( [STANDALONE]='--all -a -l --full --help -h --no-ask-password --no-legend --no-pager --version --value - --mkdir --read-only --force -q --quiet --system --user' - [ARG]='--host -H --kill-whom -M --machine --property -p --signal -s --uid -E --setenv -n --lines - -o --output --verify --format --max-addresses' + --mkdir --read-only --force -q --quiet --system --user --now -V' + [ARG]='--host -H --kill-whom -M --machine --property -p -P --signal -s --uid -E --setenv -n --lines + -o --output --verify --format --max-addresses --runner' ) local -A VERBS=( @@ -85,7 +85,7 @@ _machinectl() { --machine|-M) comps=$( __get_machines $mode ) ;; - --property|-p) + --property|-p|-P) comps='' ;; --output|-o) @@ -97,6 +97,9 @@ _machinectl() { --format) comps='uncompressed xz gzip bzip2 zstd' ;; + --runner) + comps='nspawn vmspawn' + ;; esac COMPREPLY=( $(compgen -W '$comps' -- "$cur") ) return 0 -- 2.47.3