%PDF- %PDF-
Direktori : /usr/share/zsh/vendor-completions/ |
Current File : //usr/share/zsh/vendor-completions/_powerprofilesctl |
#compdef powerprofilesctl # AUTOMATCALLY GENERATED by `shtab` _shtab_powerprofilesctl_commands() { local _commands=( "get:" "launch:Launch the command while holding a power profile,either performance, or power-saver. By default, the profile hold is for the performance profile, but it might not be available on all systems. See the list command for a list of available profiles." "list:" "list-holds:" "set:" "version:" ) _describe 'powerprofilesctl commands' _commands } _shtab_powerprofilesctl_options=( "(- :)"{-h,--help}"[show this help message and exit]" "--print-completion[print shell completion script]:print_completion:(bash zsh tcsh)" ) _shtab_powerprofilesctl_get_options=( "(- :)"{-h,--help}"[show this help message and exit]" ) _shtab_powerprofilesctl_launch_options=( "(- :)"{-h,--help}"[show this help message and exit]" {--profile,-p}"[Profile to use for launch command]:profile:" {--reason,-r}"[Reason to use for launch command]:reason:" {--appid,-i}"[AppId to use for launch command]:appid:" "(*)::Command to launch:" ) _shtab_powerprofilesctl_list_options=( "(- :)"{-h,--help}"[show this help message and exit]" ) _shtab_powerprofilesctl_list_holds_options=( "(- :)"{-h,--help}"[show this help message and exit]" ) _shtab_powerprofilesctl_set_options=( "(- :)"{-h,--help}"[show this help message and exit]" ":Profile to use for set command:" ) _shtab_powerprofilesctl_version_options=( "(- :)"{-h,--help}"[show this help message and exit]" ) _shtab_powerprofilesctl() { local context state line curcontext="$curcontext" _arguments -C $_shtab_powerprofilesctl_options \ ': :_shtab_powerprofilesctl_commands' \ '*::: :->powerprofilesctl' case $state in powerprofilesctl) words=($line[1] "${words[@]}") (( CURRENT += 1 )) curcontext="${curcontext%:*:*}:_shtab_powerprofilesctl-$line[1]:" case $line[1] in get) _arguments -C $_shtab_powerprofilesctl_get_options ;; launch) _arguments -C $_shtab_powerprofilesctl_launch_options ;; list) _arguments -C $_shtab_powerprofilesctl_list_options ;; list-holds) _arguments -C $_shtab_powerprofilesctl_list-holds_options ;; set) _arguments -C $_shtab_powerprofilesctl_set_options ;; version) _arguments -C $_shtab_powerprofilesctl_version_options ;; esac esac } typeset -A opt_args _shtab_powerprofilesctl "$@"