summaryrefslogtreecommitdiffstats
path: root/shell-completion
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2022-07-22 17:07:56 +0200
committerDavid Tardon <dtardon@redhat.com>2022-07-25 13:37:20 +0200
commit5edea3b77ededc32d05f93f049be014abb41477a (patch)
tree7fe491b46f314fcf6248bc3785a4a0484c811252 /shell-completion
parentman: document systemctl list-automounts (diff)
downloadsystemd-5edea3b77ededc32d05f93f049be014abb41477a.tar.xz
systemd-5edea3b77ededc32d05f93f049be014abb41477a.zip
shell-completion: add systemctl list-automounts
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/systemctl.in2
-rw-r--r--shell-completion/zsh/_systemctl.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in
index b61f88b012..c8ca2882c0 100644
--- a/shell-completion/bash/systemctl.in
+++ b/shell-completion/bash/systemctl.in
@@ -215,7 +215,7 @@ _systemctl () {
suspend-then-hibernate kexec list-jobs list-sockets
list-timers list-units list-unit-files poweroff
reboot rescue show-environment suspend get-default
- is-system-running preset-all'
+ is-system-running preset-all list-automounts'
[FILE]='link switch-root bind mount-image'
[TARGETS]='set-default'
[MACHINES]='list-machines'
diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in
index 6fbe8737c2..8b8c59e0d7 100644
--- a/shell-completion/zsh/_systemctl.in
+++ b/shell-completion/zsh/_systemctl.in
@@ -7,6 +7,7 @@
local -a unit_commands=(
# Unit Commands
+ "list-automounts:List automounts"
"list-sockets:List sockets"
"list-timers:List timers"
"list-units:List units"