From: Simon Marchi Date: Tue, 24 Jan 2012 16:28:04 +0000 (-0500) Subject: Add a '--list-options' option to each command. X-Git-Tag: v2.0-pre19~60 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=679b4943c3b0f451e7f4fbcd804dd8a7a679e253;hp=679b4943c3b0f451e7f4fbcd804dd8a7a679e253;ds=sidebyside Add a '--list-options' option to each command. This is intended to be used for programmable Bash completion. Modified from previous version: - Changed '\0' to 0 to match current coding style. Changes made by David Goulet: - Check args for --list-options in lttng cli to stop auto execution of the session daemon. - Adds --list-options to all help. (Hidding command is bad :P) - Fix uninitialized ret value in enable channel Signed-off-by: Simon Marchi Acked-by: Mathieu Desnoyers Signed-off-by: David Goulet ---