1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

shell-completion: use -a to see "empty" properties

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2013-04-17 10:52:46 -04:00
parent 4a449ed73d
commit 90cf049bfe

View File

@ -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"