From 23d14dff22683582847cde7ed416a5aeb90e3bd9 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 25 Mar 2013 14:44:41 -0400 Subject: [PATCH] Fix: typo in the create command help and man page Fixes #436 Signed-off-by: David Goulet --- doc/man/lttng.1 | 2 +- src/bin/lttng/commands/create.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index 0de06d7cb..33cc56304 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -230,7 +230,7 @@ Using these options, each API call can be controlled individually. For instance, \-C does not enable the consumer automatically. You'll need the \-e option for that. -\-U, \-\-set-uri=URL +\-U, \-\-set-url=URL Set URL for the consumer output destination. It is persistent for the session lifetime. Redo the command to change it. This will set both data and control URL for network. diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index b7d9af52e..491ffd548 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -52,9 +52,9 @@ static struct poptOption long_options[] = { {"help", 'h', POPT_ARG_NONE, NULL, OPT_HELP, NULL, NULL}, {"output", 'o', POPT_ARG_STRING, &opt_output_path, 0, NULL, NULL}, {"list-options", 0, POPT_ARG_NONE, NULL, OPT_LIST_OPTIONS, NULL, NULL}, - {"set-uri", 'U', POPT_ARG_STRING, &opt_url, 0, 0, 0}, - {"ctrl-uri", 'C', POPT_ARG_STRING, &opt_ctrl_url, 0, 0, 0}, - {"data-uri", 'D', POPT_ARG_STRING, &opt_data_url, 0, 0, 0}, + {"set-url", 'U', POPT_ARG_STRING, &opt_url, 0, 0, 0}, + {"ctrl-url", 'C', POPT_ARG_STRING, &opt_ctrl_url, 0, 0, 0}, + {"data-url", 'D', POPT_ARG_STRING, &opt_data_url, 0, 0, 0}, {"no-consumer", 0, POPT_ARG_VAL, &opt_no_consumer, 1, 0, 0}, {"disable-consumer", 0, POPT_ARG_VAL, &opt_disable_consumer, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 0} -- 2.34.1