403Webshell
Server IP : 104.21.25.180  /  Your IP : 162.159.115.41
Web Server : Apache/2.4.37
System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User : ricodeal ( 1046)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/bash-completion/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/bash-completion/mbimcli
# mbimcli(1) completion                                      -*- shell-script -*-

# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright (C) 2015 Aleksander Morgado <[email protected]>

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

    case $prev in
        '-d'|'--device')
            _filedir
            return 0
            ;;
        '--no-open')
            COMPREPLY=( $(compgen -W "[Transaction-ID]" -- $cur) )
            return 0
            ;;
        '--set-radio-state')
            COMPREPLY=( $(compgen -W "[(on|off)]" -- $cur) )
            return 0
            ;;
        '--enter-pin')
            COMPREPLY=( $(compgen -W "[current-PIN]" -- $cur) )
            return 0
            ;;
        '--change-pin')
            COMPREPLY=( $(compgen -W "[(current-PIN),(new-PIN)]" -- $cur) )
            return 0
            ;;
        '--enable-pin')
            COMPREPLY=( $(compgen -W "[current-PIN]" -- $cur) )
            return 0
            ;;
        '--disable-pin')
            COMPREPLY=( $(compgen -W "[current-PIN]" -- $cur) )
            return 0
            ;;
        '--enter-puk')
            COMPREPLY=( $(compgen -W "[(PUK),(new-PIN)]" -- $cur) )
            return 0
            ;;
        '--connect')
            COMPREPLY=( $(compgen -W "[(APN),(PAP|CHAP|MSCHAPV2),(Username),(Password)]" -- $cur) )
            return 0
            ;;
        '--phonebook-read')
            COMPREPLY=( $(compgen -W "[(Phonebook-index)]" -- $cur) )
            return 0
            ;;
        '--phonebook-write')
            COMPREPLY=( $(compgen -W "[(Name),(Number)[,(Index)]]" -- $cur) )
            return 0
            ;;
        '--phonebook-delete')
            COMPREPLY=( $(compgen -W "[(Phonebook-index)]" -- $cur) )
            return 0
            ;;
        '--dss-connect')
            COMPREPLY=( $(compgen -W "[(UUID),(Session-ID)]" -- $cur) )
            return 0
            ;;
        '--dss-disconnect')
            COMPREPLY=( $(compgen -W "[(UUID),(Session-ID)]" -- $cur) )
            return 0
            ;;
        '-V'|'--version')
            return 0
            ;;
        '-h'|'--help'|'--help-all'|'--help-basic-connect'|'--help-phonebook'|'--help-dss'|'--help-ms-firmware-id'|'--help-ms-host-shutdown'|'--help-ms-sar')
            return 0
            ;;
    esac

    $split && return 0

    if [[ $cur == -* ]]; then
        COMPREPLY=( $( compgen -W '$( _parse_help "$1" --help-all )' -- "$cur" ) )
        [[ $COMPREPLY == *= ]] && compopt -o nospace
        return 0
    fi
} &&
complete -F _mbimcli mbimcli

# ex: ts=4 sw=4 et filetype=sh

Youez - 2016 - github.com/yon3zu
LinuXploit