diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-11 03:33:55 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-11 03:33:55 +0900 |
commit | 7ee19d264390f6acad149bf364ffcd4500bf4524 (patch) | |
tree | e2f9ada395fb18f2a43ea315213d25e912fe2c55 | |
parent | Merge pull request #8824 from keszybz/analyze-show-config (diff) | |
download | systemd-7ee19d264390f6acad149bf364ffcd4500bf4524.tar.gz systemd-7ee19d264390f6acad149bf364ffcd4500bf4524.tar.bz2 systemd-7ee19d264390f6acad149bf364ffcd4500bf4524.zip |
bash-completion: analyze: add --no-pager for some verbs
-rw-r--r-- | shell-completion/bash/systemd-analyze | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze index a66ddccb0..9c59429f0 100644 --- a/shell-completion/bash/systemd-analyze +++ b/shell-completion/bash/systemd-analyze @@ -85,12 +85,12 @@ _systemd_analyze() { elif __contains_word "$verb" ${VERBS[STANDALONE]}; then if [[ $cur = -* ]]; then - comps='--help --version --system --user --global' + comps='--help --version --system --user --global --no-pager' fi elif __contains_word "$verb" ${VERBS[CRITICAL_CHAIN]}; then if [[ $cur = -* ]]; then - comps='--help --version --system --user --fuzz' + comps='--help --version --system --user --fuzz --no-pager' fi elif __contains_word "$verb" ${VERBS[DOT]}; then @@ -114,7 +114,7 @@ _systemd_analyze() { elif __contains_word "$verb" ${VERBS[SECCOMP_FILTER]}; then if [[ $cur = -* ]]; then - comps='--help --version' + comps='--help --version --no-pager' fi elif __contains_word "$verb" ${VERBS[VERIFY]}; then |