Server IP : 127.0.0.2 / Your IP : 3.16.136.129 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/bash-completion/completions/ |
Upload File : |
# bash completion for qemu -*- shell-script -*- _qemu() { local cur prev words cword _init_completion || return case $prev in -fd[ab]|-hd[abcd]|-cdrom|-option-rom|-kernel|-initrd|-bootp|-pidfile| \ -loadvm|-mtdblock|-sd|-pflash|-bios) _filedir return 0 ;; -tftp|-smb|-L|-chroot) _filedir -d return 0 ;; -boot) COMPREPLY=( $( compgen -W 'a c d n' -- "$cur" ) ) return 0 ;; -k) COMPREPLY=( $( compgen -W 'ar de-ch es fo fr-ca hu ja mk no pt-br sv da en-gb et fr fr-ch is lt nl pl ru th de en-us fi fr-be hr it lv nl-be pt sl tr' -- "$cur" ) ) return 0 ;; -soundhw) COMPREPLY=( $( compgen -W "$( qemu -soundhw ? | awk \ '/^[[:lower:]]/ {print $1}' ) all" -- "$cur" ) ) return 0 ;; -M) COMPREPLY=( $( compgen -W "$( qemu -M ? | awk \ '/^[[:lower:]]/ {print $1}' )" -- "$cur" ) ) return 0 ;; -cpu) COMPREPLY=( $( compgen -W "$( qemu -cpu ? | awk \ '{print $2}' )" -- "$cur" ) ) return 0 ;; -usbdevice) COMPREPLY=( $( compgen -W 'mouse tablet disk: host: serial: braille net' -- "$cur" ) ) return 0 ;; -net) COMPREPLY=( $( compgen -W 'nic user tap socket vde none dump' \ -- "$cur" ) ) return 0 ;; -serial|-parallel|-monitor) COMPREPLY=( $( compgen -W 'vc pty none null /dev/ file: stdio pipe: COM udp: tcp: telnet: unix: mon: braille' -- "$cur" ) ) return 0 ;; -redir) COMPREPLY=( $( compgen -S":" -W 'tcp udp' -- "$cur" ) ) return 0 ;; -bt) COMPREPLY=( $( compgen -W 'hci vhci device' -- "$cur" ) ) return 0 ;; -vga) COMPREPLY=( $( compgen -W 'cirrus std vmware xenfb none' \ -- "$cur" ) ) return 0 ;; -drive) COMPREPLY=( $( compgen -S"=" -W 'file if bus unit index media cyls snapshot cache format serial addr' -- "$cur" ) ) return 0 ;; -ballon) COMPREPLY=( $( compgen -W 'none virtio' -- "$cur" ) ) return 0 ;; -smbios) COMPREPLY=( $( compgen -W 'file type' -- "$cur" ) ) return 0 ;; -watchdog) COMPREPLY=( $( compgen -W "$( qemu -watchdog ? 2>&1 | \ awk '{print $1}' )" -- "$cur" ) ) return 0 ;; -watchdog-action) COMPREPLY=( $( compgen -W 'reset shutdown poweroff pause debug none' -- "$cur" ) ) return 0 ;; -runas) _allowed_users return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_help "$1" -help ) -fd{a,b} -hd{a..d}' -- "$cur" ) ) else _filedir fi } && complete -F _qemu qemu # ex: ts=4 sw=4 et filetype=sh