summaryrefslogtreecommitdiff
path: root/shell-completion/bash/journalctl
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/journalctl')
-rw-r--r--shell-completion/bash/journalctl3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl
index ded92cb73a..c90a114497 100644
--- a/shell-completion/bash/journalctl
+++ b/shell-completion/bash/journalctl
@@ -82,6 +82,9 @@ _journalctl() {
--user-unit)
comps=$(journalctl -F '_SYSTEMD_USER_UNIT' 2>/dev/null)
;;
+ --identifier|-t)
+ comps=$(journalctl -F 'SYSLOG_IDENTIFIER' 2>/dev/null)
+ ;;
*)
return 0
;;