summaryrefslogtreecommitdiff
path: root/src/grp-initprogs/systemd-detect-virt/systemd-detect-virt.completion.zsh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-13 16:41:31 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-13 16:41:31 -0400
commitd3f2bd38c85b5e9484dbe55094e53a561fb46b6e (patch)
treefda125cd5c1243c0750dc814f4cc0b0adcdaf28d /src/grp-initprogs/systemd-detect-virt/systemd-detect-virt.completion.zsh
parent85ac1aeee9bfd78f017f4f2bf73629c3456f2775 (diff)
./tools/notsd-move
Diffstat (limited to 'src/grp-initprogs/systemd-detect-virt/systemd-detect-virt.completion.zsh')
-rw-r--r--src/grp-initprogs/systemd-detect-virt/systemd-detect-virt.completion.zsh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/grp-initprogs/systemd-detect-virt/systemd-detect-virt.completion.zsh b/src/grp-initprogs/systemd-detect-virt/systemd-detect-virt.completion.zsh
new file mode 100644
index 0000000000..a0c7df727c
--- /dev/null
+++ b/src/grp-initprogs/systemd-detect-virt/systemd-detect-virt.completion.zsh
@@ -0,0 +1,11 @@
+#compdef systemd-detect-virt
+
+local curcontext="$curcontext" state lstate line
+_arguments \
+ {-h,--help}'[Show this help]' \
+ '--version[Show package version]' \
+ {-c,--container}'[Only detect whether we are run in a container]' \
+ {-v,--vm}'[Only detect whether we are run in a VM]' \
+ {-q,--quiet}"[Don't output anything, just set return value]"
+
+#vim: set ft=zsh sw=4 ts=4 et