Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /usr/share/bash-completion/completions/
Upload File :
Current File : //usr/share/bash-completion/completions/trust

# trust(1) completion                                       -*- shell-script -*-

_trust()
{
    local cur prev words cword
    _init_completion || return

    local commands command

    commands='list extract extract-compat anchor dump check-format'

    if [[ $cword -eq 1 ]]; then
        COMPREPLY=( $(compgen -W "$commands" -- "$cur") )
    else
        command=${words[1]}
        case $prev in
            --filter)
                list=""
                case $command in
                    extract|list)
                        list="ca-anchors trust-policy blocklist certificates pkcs11:"
                        ;;
                    dump)
                        list="all pkcs11:"
                        ;;
                esac
                COMPREPLY=( $(compgen -W "$list" -- "$cur") )
                return
                ;;
            --purpose)
                COMPREPLY=( $(compgen -W "server-auth client-auth email code-signing" -- "$cur") )
                return
                ;;
            --format)
                options='x509-file x509-directory pem-bundle pem-directory
                    pem-directory-hash openssl-bundle openssl-directory
                    java-cacarts'
                COMPREPLY=( $(compgen -W "$options" -- "$cur") )
                return
                ;;
        esac

        if [[ "$cur" == -* ]]; then
            # possible options for the command
            case $command in
                list)
                    options='--filter --purpose'
                    ;;
                extract)
                    options='--comment --filter --format --overwrite --purpose'
                    ;;
                anchor)
                    options='--remove --store'
                    ;;
                dump)
                    options='--filter'
                    ;;
            esac
            COMPREPLY=( $(compgen -W "$options --verbose --help --quiet" -- "$cur") )
        else
            _filedir
        fi
    fi
} &&
complete -F _trust trust

# ex: filetype=sh

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat