X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=extras%2Flttng-bash_completion;h=b5f861c56a2fd55c5c2dfc6e463310a8b32cdf57;hp=a90820ab42c65d98fd1c1284c76d7474f70303b7;hb=a2bccc23d7d236691f76a9e01a647f9949a09928;hpb=6c806062d2b535701bd5dcce4d3b41fe46a69670 diff --git a/extras/lttng-bash_completion b/extras/lttng-bash_completion index a90820ab4..b5f861c56 100644 --- a/extras/lttng-bash_completion +++ b/extras/lttng-bash_completion @@ -125,44 +125,6 @@ _lttng_cmd_enableevent() { esac } -_lttng_cmd_enableconsumer() { - local enable_consumer_opts - enable_consumer_opts=$(lttng enable-consumer --list-options) - - case $prev in - --session|-s) - _lttng_complete_sessions - return - ;; - esac - - case $cur in - -*) - COMPREPLY=( $(compgen -W "${enable_consumer_opts}" -- $cur) ) - return - ;; - esac -} - -_lttng_cmd_disableconsumer() { - local disable_consumer_opts - disable_consumer_opts=$(lttng disable-consumer --list-options) - - case $prev in - --session|-s) - _lttng_complete_sessions - return - ;; - esac - - case $cur in - -*) - COMPREPLY=( $(compgen -W "${disable_consumer_opts}" -- $cur) ) - return - ;; - esac -} - _lttng_cmd_disablechannel() { local disable_channel_opts disable_channel_opts=$(lttng disable-channel --list-options)