diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-08-08 10:47:44 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-08-08 15:26:38 +0900 |
commit | 652e39a3789f73cf9b4abe404b4361e7ce862d9c (patch) | |
tree | b802c72263abda0d8d73940642e219ee637bcc17 /shell-completion/bash | |
parent | link: fix type for link-config's "features" array of tristates (diff) | |
download | systemd-652e39a3789f73cf9b4abe404b4361e7ce862d9c.tar.gz systemd-652e39a3789f73cf9b4abe404b4361e7ce862d9c.tar.bz2 systemd-652e39a3789f73cf9b4abe404b4361e7ce862d9c.zip |
bash-completion: journalctl: add --grep and --case-sensitive
Diffstat (limited to 'shell-completion/bash')
-rw-r--r-- | shell-completion/bash/journalctl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl index 48781ee7c..5a5131e5b 100644 --- a/shell-completion/bash/journalctl +++ b/shell-completion/bash/journalctl @@ -46,9 +46,9 @@ _journalctl() { --flush --rotate --sync --no-hostname -N --fields' [ARG]='-b --boot -D --directory --file -F --field -t --identifier -M --machine -o --output -u --unit --user-unit -p --priority - --root' + --root --case-sensitive' [ARGUNKNOWN]='-c --cursor --interval -n --lines -S --since -U --until - --after-cursor --verify-key + --after-cursor --verify-key -g --grep --vacuum-size --vacuum-time --vacuum-files --output-fields' ) @@ -86,6 +86,9 @@ _journalctl() { --identifier|-t) comps=$(journalctl -F 'SYSLOG_IDENTIFIER' 2>/dev/null) ;; + --case-sensitive) + comps='yes no' + ;; *) return 0 ;; |