Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /proc/self/root/usr/share/bash-completion/completions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/share/bash-completion/completions/protoc
# protoc completion                                        -*- shell-script -*-

_protoc()
{
    local cur prev words cword split
    _init_completion -s || return

    case $prev in
        --proto_path|--cpp_out|--java_out|--python_out)
            _filedir -d
            return
            ;;
        --version|-h|--help|--encode|--decode)
            return
            ;;
        --descriptor_set_out)
            _filedir
            return
            ;;
        --error_format)
            COMPREPLY=( $( compgen -W 'gcc msvs' -- "$cur" ) )
            return
            ;;
        --plugin)
            if [[ $cur != *=* ]]; then
                compopt -o filenames
                COMPREPLY=( $( compgen -c -- "$cur" ) )
            fi
            return
            ;;
    esac

    $split && return

    case $cur in
        -o*)
            cur=${cur:2}
            _filedir
            COMPREPLY=( "${COMPREPLY[@]/#/-o}" )
            return
            ;;
        -I*)
            cur=${cur:2}
            _filedir -d
            COMPREPLY=( "${COMPREPLY[@]/#/-I}" )
            return
            ;;
        -*)
            COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
            local i
            for i in ${!COMPREPLY[@]}; do
                [[ ${COMPREPLY[i]} == -oFILE ]] && unset 'COMPREPLY[i]'
            done
            [[ $COMPREPLY == *= ]] && compopt -o nospace
            return
            ;;
    esac

    _filedir proto
} &&
complete -F _protoc protoc

# ex: filetype=sh

Spamworldpro Mini