From 7ee19d264390f6acad149bf364ffcd4500bf4524 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 11 May 2018 03:33:55 +0900 Subject: [PATCH] bash-completion: analyze: add --no-pager for some verbs --- shell-completion/bash/systemd-analyze | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze index a66ddccb02..9c59429f0f 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