mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 05:13:25 -07:00
Updated msys2 to msys2-base-x86_64-20200903
This commit is contained in:
parent
5bc8dbdc75
commit
2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions
89
msys2/usr/share/bash-completion/completions/fio
Normal file
89
msys2/usr/share/bash-completion/completions/fio
Normal file
|
@ -0,0 +1,89 @@
|
|||
# fio(1) completion -*- shell-script -*-
|
||||
|
||||
_fio()
|
||||
{
|
||||
local cur prev words cword split
|
||||
_init_completion -s || return
|
||||
|
||||
case $prev in
|
||||
--help|--version)
|
||||
return
|
||||
;;
|
||||
--debug)
|
||||
local prefix=; [[ $cur == *,* ]] && prefix="${cur%,*},"
|
||||
COMPREPLY=( $(compgen -W "process file io mem blktrace verify
|
||||
random parse diskutil job mutex profile time net rate compress
|
||||
steadystate helperthread" -- "${cur##*,}") )
|
||||
[[ ${#COMPREPLY[@]} -eq 1 ]] && COMPREPLY=( ${COMPREPLY/#/$prefix} )
|
||||
return
|
||||
;;
|
||||
--output-format)
|
||||
COMPREPLY=( $(compgen -W "terse json json+ normal" -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--terse-version)
|
||||
COMPREPLY=( $(compgen -W "2 3" -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--cmdhelp)
|
||||
# TODO more commands?
|
||||
COMPREPLY=( $(compgen -W "all" -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--enghelp)
|
||||
# TODO print ioengine help, or list available ioengines
|
||||
# TODO engine,help arg
|
||||
return
|
||||
;;
|
||||
--eta)
|
||||
COMPREPLY=( $(compgen -W "always never auto" -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--daemonize)
|
||||
_filedir pid
|
||||
return
|
||||
;;
|
||||
--client)
|
||||
_known_hosts_real -- "$cur"
|
||||
return
|
||||
;;
|
||||
--remote-config)
|
||||
_filedir job
|
||||
return
|
||||
;;
|
||||
--idle-prof)
|
||||
COMPREPLY=( $(compgen -W "system percpu calibrate" -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--inflate-log)
|
||||
_filedir log
|
||||
return
|
||||
;;
|
||||
--trigger-file)
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
--trigger|--trigger-remote)
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $(compgen -c -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--aux-path)
|
||||
_filedir -d
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
$split && return
|
||||
|
||||
if [[ $cur == -* ]]; then
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
return
|
||||
fi
|
||||
|
||||
_filedir job
|
||||
} &&
|
||||
complete -F _fio fio
|
||||
|
||||
# ex: filetype=sh
|
Loading…
Add table
Add a link
Reference in a new issue