summaryrefslogtreecommitdiff
path: root/shell-completion/bash
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash')
-rw-r--r--shell-completion/bash/coredumpctl2
-rw-r--r--shell-completion/bash/hostnamectl2
-rw-r--r--shell-completion/bash/journalctl8
-rw-r--r--shell-completion/bash/localectl2
-rw-r--r--shell-completion/bash/loginctl7
-rw-r--r--shell-completion/bash/systemd-analyze2
-rw-r--r--shell-completion/bash/systemd-cgtop3
-rw-r--r--shell-completion/bash/timedatectl2
8 files changed, 17 insertions, 11 deletions
diff --git a/shell-completion/bash/coredumpctl b/shell-completion/bash/coredumpctl
index e23152d6a8..6091677506 100644
--- a/shell-completion/bash/coredumpctl
+++ b/shell-completion/bash/coredumpctl
@@ -37,7 +37,7 @@ __journal_fields=(MESSAGE{,_ID} PRIORITY CODE_{FILE,LINE,FUNC}
_coredumpctl() {
local i verb comps
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
- local OPTS='-h --help --version --no-pager --no-legend -o --output -F --field'
+ local OPTS='-h --help --version --no-pager --no-legend -o --output -F --field -1'
local -A VERBS=(
[LIST]='list'
diff --git a/shell-completion/bash/hostnamectl b/shell-completion/bash/hostnamectl
index 7a0850dbe4..9ad52e03b4 100644
--- a/shell-completion/bash/hostnamectl
+++ b/shell-completion/bash/hostnamectl
@@ -28,7 +28,7 @@ _hostnamectl() {
local i verb comps
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
local OPTS='-h --help --version --transient --static --pretty
- --no-ask-password -H --host'
+ --no-ask-password -H --host --machine'
if [[ $cur = -* ]]; then
COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl
index 2efa1000e2..1387524a85 100644
--- a/shell-completion/bash/journalctl
+++ b/shell-completion/bash/journalctl
@@ -44,11 +44,15 @@ _journalctl() {
--disk-usage -f --follow --header
-h --help -l --local --new-id128 -m --merge --no-pager
--no-tail -q --quiet --setup-keys --this-boot --verify
- --version --list-catalog --update-catalog --list-boots'
+ --version --list-catalog --update-catalog --list-boots
+ --show-cursor --dmesg -k --pager-end -e -r --reverse
+ --utc -x --catalog --no-full --force --dump-catalog
+ --flush'
[ARG]='-b --boot --this-boot -D --directory --file -F --field
-o --output -u --unit --user-unit -p --priority'
[ARGUNKNOWN]='-c --cursor --interval -n --lines --since --until
- --verify-key'
+ --after-cursor --verify-key --identifier
+ --root --machine'
)
if __contains_word "$prev" ${OPTS[ARG]} ${OPTS[ARGUNKNOWN]}; then
diff --git a/shell-completion/bash/localectl b/shell-completion/bash/localectl
index c9e22af2aa..e0c06a794e 100644
--- a/shell-completion/bash/localectl
+++ b/shell-completion/bash/localectl
@@ -34,7 +34,7 @@ _localectl() {
local i verb comps locale_vals
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
local OPTS='-h --help --version --no-convert --no-pager --no-ask-password
- -H --host'
+ -H --host --machine'
if __contains_word "$prev" $OPTS; then
case $prev in
diff --git a/shell-completion/bash/loginctl b/shell-completion/bash/loginctl
index e7adb93f97..7a083d2875 100644
--- a/shell-completion/bash/loginctl
+++ b/shell-completion/bash/loginctl
@@ -33,9 +33,10 @@ _loginctl () {
local i verb comps
local -A OPTS=(
- [STANDALONE]='--all -a --help -h --no-pager --privileged -P --version'
- [ARG]='--host -H --kill-who --property -p --signal -s'
- )
+ [STANDALONE]='--all -a --help -h --no-pager --privileged -P --version
+ --no-legend --no-ask-password -l --full'
+ [ARG]='--host -H --kill-who --property -p --signal -s --machine'
+ )
if __contains_word "$prev" ${OPTS[ARG]}; then
case $prev in
diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze
index 77d1b542a2..00947029c6 100644
--- a/shell-completion/bash/systemd-analyze
+++ b/shell-completion/bash/systemd-analyze
@@ -36,7 +36,7 @@ _systemd_analyze() {
local -A OPTS=(
[STANDALONE]='--help --version --system --user --from-pattern --to-pattern --order --require --no-pager'
- [ARG]='-H --host -M --machine'
+ [ARG]='-H --host -M --machine --fuzz --man'
)
local -A VERBS=(
diff --git a/shell-completion/bash/systemd-cgtop b/shell-completion/bash/systemd-cgtop
index d7ea42d910..50464990ab 100644
--- a/shell-completion/bash/systemd-cgtop
+++ b/shell-completion/bash/systemd-cgtop
@@ -30,7 +30,8 @@ _systemd_cgtop() {
local -A OPTS=(
[STANDALONE]='-h --help --version -p -t -c -m -i -b --batch -n --iterations -d --delay'
- )
+ [ARG]='--cpu --depth'
+ )
_init_completion || return
diff --git a/shell-completion/bash/timedatectl b/shell-completion/bash/timedatectl
index 1a0acc6c7c..a57fbd2546 100644
--- a/shell-completion/bash/timedatectl
+++ b/shell-completion/bash/timedatectl
@@ -28,7 +28,7 @@ _timedatectl() {
local i verb comps
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
local OPTS='-h --help --version --adjust-system-clock --no-pager
- --no-ask-password -H --host'
+ --no-ask-password -H --host --machine'
if __contains_word "$prev" $OPTS; then
case $prev in