diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-21 18:59:38 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-21 18:59:38 +0200 |
commit | acf0813d21dfef1b0cfc674af921da88d1701490 (patch) | |
tree | 314cf0300ed7217f903680a8cff8022cf0cb47dc | |
parent | f1f679c5b680be14c1c83bc34d00ecf276927ba0 (diff) | |
parent | 73b73b762c801f04e291c551dd6eb47e146dca88 (diff) |
Merge pull request #1321 from evverx/cgtop-recurisive-option
shell-completion: update systemd-cgtop bash completion: --recursive
-rw-r--r-- | shell-completion/bash/systemd-cgtop | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell-completion/bash/systemd-cgtop b/shell-completion/bash/systemd-cgtop index eefb8fc5c4..beee627dbe 100644 --- a/shell-completion/bash/systemd-cgtop +++ b/shell-completion/bash/systemd-cgtop @@ -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 |