Be able to choose session by number in lttng list command
When we list the session with lttng list we get a list prefixed by number
Available tracing sessions:
1) test (/home/scientist/lttng-traces/test-20120618-142554) [inactive]
It seems natural after that to use this number when we want to have the detail of a session
lttng list 1
instead of doing lttng list test
(Its particularly painfull with the auto generated names.
Updated by Jonathan Rajotte about 7 years ago
This is partially solved with the use of mi and bash-autompletion. The autompletion of auto generated name is less painfull now. Still the use of number is inadequate and can confuse the user. The introduction of mi should enable heavy modification of the cli output.