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:
parent
4a449ed73d
commit
90cf049bfe
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user