From a2accacb984b784c9a5215ece6c0bf42f096e229 Mon Sep 17 00:00:00 2001
From: Evgeny Vereshchagin <evvers@ya.ru>
Date: Mon, 21 Sep 2015 17:33:00 +0000
Subject: shell-completion: cgtop bash completion: add -r,--raw,-k,-P,--order

---
 shell-completion/bash/systemd-cgtop | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'shell-completion/bash')

diff --git a/shell-completion/bash/systemd-cgtop b/shell-completion/bash/systemd-cgtop
index e6bb0e903b..f1ed22fd55 100644
--- a/shell-completion/bash/systemd-cgtop
+++ b/shell-completion/bash/systemd-cgtop
@@ -34,8 +34,8 @@ _systemd_cgtop() {
         local comps
 
         local -A OPTS=(
-               [STANDALONE]='-h --help --version -p -t -c -m -i -b --batch'
-               [ARG]='--cpu --depth -M --machine --recursive -n --iterations -d --delay'
+               [STANDALONE]='-h --help --version -p -t -c -m -i -b --batch -r --raw -k -P'
+               [ARG]='--cpu --depth -M --machine --recursive -n --iterations -d --delay --order'
                )
 
         _init_completion || return
@@ -47,6 +47,10 @@ _systemd_cgtop() {
                         ;;
                         --recursive)
                                 comps='yes no'
+                        ;;
+                        --order)
+                                comps='path tasks cpu memory io'
+                        ;;
                 esac
                 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
                 return 0
-- 
cgit v1.2.3-54-g00ecf