diff options
Diffstat (limited to 'functest/cli/functest-complete.sh')
-rw-r--r-- | functest/cli/functest-complete.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/functest/cli/functest-complete.sh b/functest/cli/functest-complete.sh new file mode 100644 index 00000000..f0149071 --- /dev/null +++ b/functest/cli/functest-complete.sh @@ -0,0 +1,8 @@ +_functest_completion() { + COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \ + COMP_CWORD=$COMP_CWORD \ + _FUNCTEST_COMPLETE=complete $1 ) ) + return 0 +} + +complete -F _functest_completion -o default functest; |