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

Sebastian Andrzej Siewior bigeasy at linutronix.de
Thu Feb 14 05:52:17 EST 2013


Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
---
 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




More information about the lttng-dev mailing list