1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-12 13:18:14 +03:00

Merge pull request #1321 from evverx/cgtop-recurisive-option

shell-completion: update systemd-cgtop bash completion: --recursive
This commit is contained in:
Lennart Poettering 2015-09-21 18:59:38 +02:00
commit acf0813d21

View File

@ -35,7 +35,7 @@ _systemd_cgtop() {
local -A OPTS=(
[STANDALONE]='-h --help --version -p -t -c -m -i -b --batch -n --iterations -d --delay'
[ARG]='--cpu --depth -M --machine'
[ARG]='--cpu --depth -M --machine --recursive'
)
_init_completion || return
@ -45,6 +45,8 @@ _systemd_cgtop() {
--machine|-M)
comps=$( __get_machines )
;;
--recursive)
comps='yes no'
esac
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
return 0