summaryrefslogtreecommitdiffstats
path: root/cli/functest-complete.sh
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-05-10 11:51:18 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-05-10 11:51:18 +0000
commitacd3d80504a56183a4909dce52b56bc7e15bc6cd (patch)
tree9c656eb5db5813865537cb1f0693564dbc38e32b /cli/functest-complete.sh
parent7eeab2d73796b1054c20b41329835adc090bbf3c (diff)
parentbd00e6f289a69badf7beea827b20764ed3252c7a (diff)
Merge "CLI implementation"
Diffstat (limited to 'cli/functest-complete.sh')
-rw-r--r--cli/functest-complete.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/functest-complete.sh b/cli/functest-complete.sh
new file mode 100644
index 000000000..f01490713
--- /dev/null
+++ b/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;