0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 13.59.236.101


Current Path : /proc/self/root/usr/share/bash-completion/completions/
Upload File :
Current File : //proc/self/root/usr/share/bash-completion/completions/unpack200

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

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

    case $prev in
        '-?'|-h|--help|-V|--version|-J)
            return
            ;;
        -H|--deflate-hint)
            COMPREPLY=( $( compgen -W 'true false keep' -- "$cur" ) )
            return
            ;;
        -l|--log-file)
            COMPREPLY=( $( compgen -W '-' -- "$cur" ) )
            _filedir log
            return
            ;;
    esac

    $split && return

    # Check if a pack or a jar was already given.
    local i pack=false jar=false
    for (( i=0; i < ${#words[@]}-1; i++ )) ; do
        case ${words[i]} in
            *.pack|*.pack.gz) pack=true ;;
            *.jar) jar=true ;;
        esac
    done

    if ! $pack ; then
        if [[ "$cur" == -* ]] ; then
            COMPREPLY=( $( compgen -W '--deflate-hint= --remove-pack-file
                --verbose --quiet --log-file= --help --version' -- "$cur" ) )
            [[ $COMPREPLY == *= ]] && compopt -o nospace
        else
            _filedir 'pack?(.gz)'
        fi
    elif ! $jar ; then
        _filedir jar
    fi
} &&
complete -F _unpack200 unpack200

# ex: filetype=sh