mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
bash-completion: analyze: add --no-pager for some verbs
This commit is contained in:
parent
81321f51cf
commit
7ee19d2643
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user