Add the lttng view command
[lttng-tools.git] / extras / lttng-bash_completion
index ac57e4d83c4372105dedd273ea5b6a106d31e3cb..9aacb029491793d471b65810b5e1281e06fd2de7 100644 (file)
@@ -249,6 +249,17 @@ _lttng_cmd_calibrate() {
        esac
 }
 
+_lttng_cmd_view() {
+       local view_opts
+               view_opts=$(lttng view --list-options)
+
+               case $cur in
+               -*)
+               COMPREPLY=( $(compgen -W "${view_opts}" -- $cur) )
+               ;;
+       esac
+}
+
 _lttng_opts() {
        local opts
        opts=$(lttng --list-options)
This page took 0.023157 seconds and 4 git commands to generate.