summaryrefslogtreecommitdiff
path: root/src/systemd-tty-ask-password-agent/systemd-tty-ask-password-agent.completion.zsh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-29 22:26:10 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-29 22:26:10 -0500
commit1fd04a72d752328773c818df0f2a71bb8d079bed (patch)
tree07b4a222c4ffc808f4398b5c952db628a865191c /src/systemd-tty-ask-password-agent/systemd-tty-ask-password-agent.completion.zsh
parent54ebaa42b40d22bd0288507420b7a7241896c357 (diff)
./tools/notsd-move
Diffstat (limited to 'src/systemd-tty-ask-password-agent/systemd-tty-ask-password-agent.completion.zsh')
-rw-r--r--src/systemd-tty-ask-password-agent/systemd-tty-ask-password-agent.completion.zsh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/systemd-tty-ask-password-agent/systemd-tty-ask-password-agent.completion.zsh b/src/systemd-tty-ask-password-agent/systemd-tty-ask-password-agent.completion.zsh
new file mode 100644
index 0000000000..e7c0684996
--- /dev/null
+++ b/src/systemd-tty-ask-password-agent/systemd-tty-ask-password-agent.completion.zsh
@@ -0,0 +1,14 @@
+#compdef systemd-tty-ask-password-agent
+
+local curcontext="$curcontext" state lstate line
+_arguments \
+ {-h,--help}'[Prints a short help text and exits.]' \
+ '--version[Prints a short version string and exits.]' \
+ '--list[Lists all currently pending system password requests.]' \
+ '--query[Process all currently pending system password requests by querying the user on the calling TTY.]' \
+ '--watch[Continuously process password requests.]' \
+ '--wall[Forward password requests to wall(1).]' \
+ '--plymouth[Ask question with plymouth(8).]' \
+ '--console[Ask question on /dev/console.]'
+
+#vim: set ft=zsh sw=4 ts=4 et