projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: minor changes to lttng.1
[lttng-tools.git]
/
extras
/
lttng-bash_completion
diff --git
a/extras/lttng-bash_completion
b/extras/lttng-bash_completion
index 00ac17ef0abf86d48e0a31999b0380581167bb8f..9aacb029491793d471b65810b5e1281e06fd2de7 100644
(file)
--- a/
extras/lttng-bash_completion
+++ b/
extras/lttng-bash_completion
@@
-171,7
+171,7
@@
_lttng_cmd_disable_event() {
_lttng_cmd_list() {
local list_opts
_lttng_cmd_list() {
local list_opts
-
disable_channel
_opts=$(lttng list --list-options)
+
list
_opts=$(lttng list --list-options)
case $prev in
--channel|-c)
case $prev in
--channel|-c)
@@
-249,6
+249,17
@@
_lttng_cmd_calibrate() {
esac
}
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)
_lttng_opts() {
local opts
opts=$(lttng --list-options)
This page took
0.024868 seconds
and
4
git commands to generate.