From 682413d577cecf4539f5b4c5afca05b0e4183eb8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 13 May 2025 12:34:25 +0200 Subject: [PATCH] bash: add shell completion No idea what I am doing, but this might be enough. --- shell-completion/bash/journalctl | 2 +- shell-completion/bash/systemd-run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl index e7b8d57902d..c3e50a05a62 100644 --- a/shell-completion/bash/journalctl +++ b/shell-completion/bash/journalctl @@ -47,7 +47,7 @@ _journalctl() { --show-cursor --dmesg -k --pager-end -e -r --reverse --utc -x --catalog --no-full --force --dump-catalog --flush --rotate --sync --no-hostname -N --fields - --list-namespaces --list-invocations -I' + --list-namespaces --list-invocations -I -v --verbose' [ARG]='-b --boot -D --directory --file -F --field -t --identifier -T --exclude-identifier --facility -M --machine -o --output -u --unit --user-unit -p --priority --root --case-sensitive diff --git a/shell-completion/bash/systemd-run b/shell-completion/bash/systemd-run index 4524744bb5f..60017c1c1c0 100644 --- a/shell-completion/bash/systemd-run +++ b/shell-completion/bash/systemd-run @@ -42,7 +42,7 @@ _systemd_run() { ) local OPTS="${opts_with_values[*]} --no-ask-password --scope -u --slice-inherit -r --remain-after-exit --send-sighup -d --same-dir -t --pty -P --pipe -S --shell -q --quiet --ignore-failure - --on-clock-change --on-timezone-change --no-block --wait -G --collect --user --system -h --help --version" + --on-clock-change --on-timezone-change --no-block --wait -G --collect --user --system -h --help --version -v --verbose" local mode=--system local i for (( i=1; i <= COMP_CWORD; i++ )); do -- 2.47.3