14 lines
336 B
Bash

# pm-is-supported(1) completion -*- shell-script -*-
_pm_is_supported()
{
local cur prev words cword
_init_completion || return
COMPREPLY=($(compgen -W '--help --suspend --hibernate --suspend-hybrid' \
-- "$cur"))
} &&
complete -F _pm_is_supported pm-is-supported
# ex: filetype=sh