From: Zbigniew Jędrzejewski-Szmek Date: Wed, 17 Apr 2013 14:52:46 +0000 (-0400) Subject: shell-completion: use -a to see "empty" properties X-Git-Tag: v202~37 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=90cf049bfe9a7dcb20a1bd0d12e8b2194dbcd357 shell-completion: use -a to see "empty" properties --- diff --git a/shell-completion/bash/systemctl b/shell-completion/bash/systemctl index 3bdf4dc95..3e51f34cb 100644 --- a/shell-completion/bash/systemctl +++ b/shell-completion/bash/systemctl @@ -24,7 +24,7 @@ __systemctl() { __systemd_properties() { local mode=$1 - { __systemctl $mode show; + { __systemctl -a $mode show; systemd --dump-configuration-items; } | while IFS='=' read -r key value; do [[ $value ]] && echo "$key"