Actions
Bug #835
closed
DT
lttng load --list-options and lttng save --list-options incorrectly report an error
Bug #835:
lttng load --list-options and lttng save --list-options incorrectly report an error
Start date:
09/11/2014
Due date:
% Done:
100%
Estimated time:
Description
Unlike all other 'lttng <command> --list-options' commands, 'lttng load --list-options' and 'lttng save --list-options' return 'Error: Undefined command' (error code 2) after listing the options. I suspect this will prevent bash commnand completion from operating correctly for those two.
On a related note, 'lttng --list-commands' still lists 'enable-consumer' and 'disable-consumer' as commands. Asking for their list-options returns a 'Warning: Some command(s) went wrong' (error 4). This maybe by design (for retro-compatibility) since the 'create' command still lists the obsolete options 'disable-consumer' and 'no-consumer'.
Actions