summaryrefslogtreecommitdiff
path: root/shell-completion/systemd-zsh-completion.zsh
diff options
context:
space:
mode:
authorDaniel Wallace <danielwallace@gtmanfred.com>2013-03-01 14:39:04 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-01 14:39:04 +0100
commitffa7cd15cd2a9e802827ef0f5762de6c22933c07 (patch)
tree343330dc70c19196246e27fed3fe4e59658faa68 /shell-completion/systemd-zsh-completion.zsh
parent242c4e1cc4d6419043729904d7dd88b2b1283556 (diff)
journalctl: add --user-unit= switch
Add --user-unit= to make it possible to query for user logs by the name of the service.
Diffstat (limited to 'shell-completion/systemd-zsh-completion.zsh')
-rw-r--r--shell-completion/systemd-zsh-completion.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell-completion/systemd-zsh-completion.zsh b/shell-completion/systemd-zsh-completion.zsh
index 177a564d38..46e29b217a 100644
--- a/shell-completion/systemd-zsh-completion.zsh
+++ b/shell-completion/systemd-zsh-completion.zsh
@@ -70,6 +70,7 @@ _ctls()
{-c,--cursor=}'[Start showing entries from specified cursor]:cursors:_journal_fields __CURSORS' \
{-b,--this-boot}'[Show data only from current boot]' \
{-u,--unit=}'[Show data only from the specified unit]:units:_journal_fields _SYSTEMD_UNIT' \
+ '--user-unit[Show data only from the specified user session unit]:units:_journal_fields _SYSTEMD_USER_UNIT' \
{-p,--priority=}'[Show only messages within the specified priority range]:priority:_journal_fields PRIORITY' \
{-f,--follow}'[Follow journal]' \
{-n,--lines=}'[Number of journal entries to show]:integer' \