summaryrefslogtreecommitdiff
path: root/src/grp-initprogs/systemd-detect-virt/systemd-detect-virt.completion.zsh
blob: a0c7df727c673dc3695adc4dc9d153a08a48bc62 (plain)
1
2
3
4
5
6
7
8
9
10
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