From 14ca5c9cb47f85a4064d008a1c006aea27f84309 Mon Sep 17 00:00:00 2001 From: Alessandro Puccetti Date: Fri, 8 Jul 2016 17:44:20 +0200 Subject: nspawn-completion: implementation of shell completion of --notify-ready (#3679) Relative to: https://github.com/systemd/systemd/pull/3474 --- shell-completion/bash/systemd-nspawn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'shell-completion/bash/systemd-nspawn') diff --git a/shell-completion/bash/systemd-nspawn b/shell-completion/bash/systemd-nspawn index 0cf249d8ce..ea4a5e1f43 100644 --- a/shell-completion/bash/systemd-nspawn +++ b/shell-completion/bash/systemd-nspawn @@ -60,7 +60,8 @@ _systemd_nspawn() { [ARG]='-D --directory -u --user --uuid --capability --drop-capability --link-journal --bind --bind-ro -M --machine -S --slice --setenv -Z --selinux-context -L --selinux-apifs-context --register --network-interface --network-bridge --personality -i --image --tmpfs --volatile - --network-macvlan --kill-signal --template' + --network-macvlan --kill-signal --template + --notify-ready' ) _init_completion || return @@ -139,6 +140,10 @@ _systemd_nspawn() { _signals return ;; + --notify-ready) + comps='yes no' + return + ;; esac COMPREPLY=( $(compgen -W '$comps' -- "$cur") ) return 0 -- cgit v1.2.3-54-g00ecf