projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed52c97
)
bash_completion: journalctl: Complete -t option values
author
Namhyung Kim
<namhyung@gmail.com>
Sat, 21 Jan 2017 07:38:23 +0000
(16:38 +0900)
committer
Namhyung Kim
<namhyung@gmail.com>
Sat, 21 Jan 2017 07:38:23 +0000
(16:38 +0900)
The -t or --identifier requires a syslog identifier.
shell-completion/bash/journalctl
patch
|
blob
|
history
diff --git
a/shell-completion/bash/journalctl
b/shell-completion/bash/journalctl
index
ded92cb
..
c90a114
100644
(file)
--- 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
;;