aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-11 03:33:55 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-11 03:33:55 +0900
commit7ee19d264390f6acad149bf364ffcd4500bf4524 (patch)
treee2f9ada395fb18f2a43ea315213d25e912fe2c55 /shell-completion
parentMerge pull request #8824 from keszybz/analyze-show-config (diff)
downloadsystemd-7ee19d264390f6acad149bf364ffcd4500bf4524.tar.gz
systemd-7ee19d264390f6acad149bf364ffcd4500bf4524.tar.bz2
systemd-7ee19d264390f6acad149bf364ffcd4500bf4524.zip
bash-completion: analyze: add --no-pager for some verbs
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/systemd-analyze6
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