summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorDaniel Albers <daniel@lbe.rs>2013-06-17 11:36:35 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-06-17 10:33:34 -0400
commit98a6e132b5b85999f7e3dce158e826ffeecc1553 (patch)
treeb9ad6b4626fc52027eaa004a3c89bb37fd6f3c40 /shell-completion
parentfa3868c6d317b88715c55422b898f9070afe6575 (diff)
journalctl,loginctl,systemctl,systemd-cgls: add -l as alias for --full
https://bugs.freedesktop.org/show_bug.cgi?id=65850
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/systemctl2
-rw-r--r--shell-completion/systemd-zsh-completion.zsh4
2 files changed, 3 insertions, 3 deletions
diff --git a/shell-completion/bash/systemctl b/shell-completion/bash/systemctl
index a05b756980..ceca3348ed 100644
--- a/shell-completion/bash/systemctl
+++ b/shell-completion/bash/systemctl
@@ -70,7 +70,7 @@ _systemctl () {
local i verb comps mode
local -A OPTS=(
- [STANDALONE]='--all -a --reverse --after --before --defaults --fail --ignore-dependencies --failed --force -f --full --global
+ [STANDALONE]='--all -a --reverse --after --before --defaults --fail --ignore-dependencies --failed --force -f --full -l --global
--help -h --no-ask-password --no-block --no-legend --no-pager --no-reload --no-wall
--quiet -q --privileged -P --system --user --version --runtime'
[ARG]='--host -H --kill-mode --kill-who --property -p --signal -s --type -t --root'
diff --git a/shell-completion/systemd-zsh-completion.zsh b/shell-completion/systemd-zsh-completion.zsh
index 6862891723..c85e00e384 100644
--- a/shell-completion/systemd-zsh-completion.zsh
+++ b/shell-completion/systemd-zsh-completion.zsh
@@ -16,7 +16,7 @@ _ctls()
'--after[Show units ordered after]' \
'--before[Show units ordered before]' \
'--failed[Show only failed units]' \
- "--full[Don't ellipsize unit names on output]" \
+ {-l,--full}"[Don't ellipsize unit names on output]" \
'--fail[When queueing a new job, fail if conflicting jobs are pending]' \
'--ignore-dependencies[When queueing a new job, ignore all its dependencies]' \
'--kill-who=[Who to send signal to]:killwho:(main control all)' \
@@ -81,7 +81,7 @@ _ctls()
{-n,--lines=}'[Number of journal entries to show]:integer' \
'--no-tail[Show all lines, even in follow mode]' \
{-o,--output=}'[Change journal output mode]:output modes:_outputmodes' \
- '--full[Show long fields in full]' \
+ {-l,--full}'[Show long fields in full]' \
{-a,--all}'[Show all fields, including long and unprintable]' \
{-q,--quiet}"[Don't show privilege warning]" \
'--no-pager[Do not pipe output into a pager]' \