mirror of
https://github.com/systemd/systemd.git
synced 2024-12-13 04:03:35 +08:00
bash-completion: unify indentation
This commit is contained in:
parent
1413763ea5
commit
c01dbf6d19
@ -28,7 +28,7 @@ __contains_word () {
|
||||
__get_machines() {
|
||||
local a b
|
||||
(machinectl list-images --no-legend --no-pager; machinectl list --no-legend --no-pager; echo ".host") | \
|
||||
{ while read a b; do echo " $a"; done; } | sort -u;
|
||||
{ while read a b; do echo " $a"; done; } | sort -u;
|
||||
}
|
||||
|
||||
__syslog_priorities=(emerg alert crit err warning notice info debug)
|
||||
@ -77,7 +77,7 @@ _journalctl() {
|
||||
;;
|
||||
--field|-F)
|
||||
comps=$(journalctl --fields | sort 2>/dev/null)
|
||||
;;
|
||||
;;
|
||||
--machine|-M)
|
||||
comps=$( __get_machines )
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user