mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 16:23:28 +03:00
Squashed 'third_party/src/github.com/codegangsta/cli/' content from commit f7ebb76
git-subtree-dir: third_party/src/github.com/codegangsta/cli git-subtree-split: f7ebb761e83e21225d1d8954fde853bf8edd46c4
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#! /bin/bash
|
||||
|
||||
_cli_bash_autocomplete() {
|
||||
local cur prev opts base
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion )
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
}
|
||||
|
||||
complete -F _cli_bash_autocomplete $PROG
|
||||
Reference in New Issue
Block a user