X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fcreate.c;h=805cdb1d27157e73c674a93d6c13195b5d27fe36;hb=dd81b457300c29274b181b6f9cbd6d3f45610cd9;hp=02aaf40f487d471645e12d05d5e224916d68cfa2;hpb=4f50c803f026f217d37588c46265b5c2fb9a1195;p=lttng-tools.git diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index 02aaf40f4..805cdb1d2 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -91,11 +91,6 @@ static void usage(FILE *ofp) fprintf(ofp, " You can change it with the enable-consumer cmd\n"); fprintf(ofp, " -C, --ctrl-url=URL Set control path URL. (Must use -D also)\n"); fprintf(ofp, " -D, --data-url=URL Set data path URL. (Must use -C also)\n"); - fprintf(ofp, " --no-consumer Don't activate a consumer for this session.\n"); - fprintf(ofp, " OBSELETE\n"); - fprintf(ofp, " --disable-consumer\n"); - fprintf(ofp, " Disable consumer for this session.\n"); - fprintf(ofp, " OBSELETE\n"); fprintf(ofp, "\n"); fprintf(ofp, "Please refer to the man page (lttng(1)) for more information on network\n"); fprintf(ofp, "streaming mechanisms and explanation of the control and data port\n"); @@ -293,7 +288,6 @@ static int create_session(void) WARN("Session %s already exists", session_name); break; default: - ERR("%s", lttng_strerror(ret)); break; } goto error;