14 lines
349 B
Bash
14 lines
349 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: ts=4 sw=4 et filetype=sh
|