[lttng-dev] [PATCH] babeltrace: make '-w' actually work

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Feb 14 10:39:40 EST 2013


* Sebastian Andrzej Siewior (bigeasy at linutronix.de) wrote:
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>

Good catch !

Merged, thanks!

Mathieu

> ---
>  converter/babeltrace.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/converter/babeltrace.c b/converter/babeltrace.c
> index fe7d39f..31e3d6e 100644
> --- a/converter/babeltrace.c
> +++ b/converter/babeltrace.c
> @@ -109,7 +109,7 @@ enum {
>   */
>  static struct poptOption long_options[] = {
>  	/* longName, shortName, argInfo, argPtr, value, descrip, argDesc */
> -	{ "output", 'w', POPT_ARG_STRING, NULL, OPT_NONE, NULL, NULL },
> +	{ "output", 'w', POPT_ARG_STRING, NULL, OPT_OUTPUT_PATH, NULL, NULL },
>  	{ "input-format", 'i', POPT_ARG_STRING, NULL, OPT_INPUT_FORMAT, NULL, NULL },
>  	{ "output-format", 'o', POPT_ARG_STRING, NULL, OPT_OUTPUT_FORMAT, NULL, NULL },
>  	{ "help", 'h', POPT_ARG_NONE, NULL, OPT_HELP, NULL, NULL },
> -- 
> 1.7.10.4
> 

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list