X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fenable_consumer.c;h=6b14b16649dbdfa4d698865091551d4a58c1838d;hb=a59af249d493ef9f3a3f5190093b65aef0b1adb6;hp=6a635f424bb9c90b0693f6b8a35eb58b7396c371;hpb=d4ec3d67c0ef956f3f13b95fc7ff2b1308c1db63;p=lttng-tools.git diff --git a/src/bin/lttng/commands/enable_consumer.c b/src/bin/lttng/commands/enable_consumer.c index 6a635f424..6b14b1664 100644 --- a/src/bin/lttng/commands/enable_consumer.c +++ b/src/bin/lttng/commands/enable_consumer.c @@ -55,9 +55,9 @@ static struct poptOption long_options[] = { {"session", 's', POPT_ARG_STRING, &opt_session_name, 0, 0, 0}, {"kernel", 'k', POPT_ARG_VAL, &opt_kernel, 1, 0, 0}, {"userspace", 'u', POPT_ARG_VAL, &opt_userspace, 1, 0, 0}, - {"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}, {"enable", 'e', POPT_ARG_VAL, &opt_enable, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 0} }; @@ -87,7 +87,7 @@ static void usage(FILE *ofp) fprintf(ofp, "Using these options, each API call can be controlled individually.\n"); fprintf(ofp, "For instance, -C does not enable the consumer automatically.\n"); fprintf(ofp, "\n"); - fprintf(ofp, " -U, --set-uri=URL Set URL for the enable-consumer destination.\n"); + fprintf(ofp, " -U, --set-url=URL Set URL for the enable-consumer destination.\n"); fprintf(ofp, " It is persistent for the session lifetime.\n"); fprintf(ofp, " Redo the command to change it.\n"); fprintf(ofp, " This will set both data and control URL for network.\n");