From 023dd03a4299f3ee0889d2f8dab45ab18e2f27f0 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Fri, 25 Sep 2015 03:52:07 +0300 Subject: shell-completion: journalctl: add missing fields --- shell-completion/bash/journalctl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl index 1387524a85..6549768311 100644 --- a/shell-completion/bash/journalctl +++ b/shell-completion/bash/journalctl @@ -27,8 +27,8 @@ __contains_word () { __journal_fields=(MESSAGE{,_ID} PRIORITY CODE_{FILE,LINE,FUNC} ERRNO SYSLOG_{FACILITY,IDENTIFIER,PID} COREDUMP_EXE _{P,U,G}ID _COMM _EXE _CMDLINE - _AUDIT_{SESSION,LOGINUID} - _SYSTEMD_{CGROUP,SESSION,UNIT,OWNER_UID} + _CAP_EFFECTIVE _AUDIT_{SESSION,LOGINUID} + _SYSTEMD_{CGROUP,SESSION,{,USER_}UNIT,OWNER_UID,SLICE} _SELINUX_CONTEXT _SOURCE_REALTIME_TIMESTAMP _{BOOT,MACHINE}_ID _HOSTNAME _TRANSPORT _KERNEL_{DEVICE,SUBSYSTEM} -- cgit v1.2.3-54-g00ecf From 6409d3af08f0ce42acbfd7e7978a9bbb3312511e Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Fri, 25 Sep 2015 04:24:29 +0300 Subject: shell-completion: journalctl: add missing options --- shell-completion/bash/journalctl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl index 6549768311..bb2bb25deb 100644 --- a/shell-completion/bash/journalctl +++ b/shell-completion/bash/journalctl @@ -49,10 +49,11 @@ _journalctl() { --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' + -o --output -u --unit --user-unit -p --priority + --vacuum-size --vacuum-time' [ARGUNKNOWN]='-c --cursor --interval -n --lines --since --until - --after-cursor --verify-key --identifier - --root --machine' + --after-cursor --verify-key -t --identifier + --root -M --machine' ) if __contains_word "$prev" ${OPTS[ARG]} ${OPTS[ARGUNKNOWN]}; then -- cgit v1.2.3-54-g00ecf