projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b7a5b
)
shell-completion: update systemd-cgtop bash completion: --recursive
author
Evgeny Vereshchagin
<evvers@ya.ru>
Mon, 21 Sep 2015 16:54:58 +0000
(16:54 +0000)
committer
Evgeny Vereshchagin
<evvers@ya.ru>
Mon, 21 Sep 2015 16:54:58 +0000
(16:54 +0000)
shell-completion/bash/systemd-cgtop
patch
|
blob
|
history
diff --git
a/shell-completion/bash/systemd-cgtop
b/shell-completion/bash/systemd-cgtop
index
eefb8fc
..
beee627
100644
(file)
--- 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