X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fcreate.c;h=9dc3752244616c122683416f4d9ee7af5945d33b;hb=1c8d13c8a4111fcfd4cc00c335d47506ab98bb33;hp=34754c7ca139f40077b6ea6e4cb6d81852257e88;hpb=99bab54fa13c66d7237f03d899650ad73e49c230;p=lttng-tools.git diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index 34754c7ca..9dc375224 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -52,17 +52,18 @@ static void usage(FILE *ofp) { fprintf(ofp, "usage: lttng create [options] [NAME]\n"); fprintf(ofp, "\n"); + fprintf(ofp, " The default NAME is 'auto-yyyymmdd-hhmmss'\n"); fprintf(ofp, " -h, --help Show this help\n"); - fprintf(ofp, " --list-options Simple listing of options\n"); + fprintf(ofp, " --list-options Simple listing of options\n"); fprintf(ofp, " -o, --output PATH Specify output path for traces\n"); fprintf(ofp, "\n"); } /* - * create_session + * Create a tracing session. + * If no name is specified, a default name is generated. * - * Create a tracing session. If no name specified, a default name will be - * generated. + * Returns one of the CMD_* result constants. */ static int create_session() { @@ -147,9 +148,9 @@ error: } /* - * cmd_create - * * The 'create ' first level command + * + * Returns one of the CMD_* result constants. */ int cmd_create(int argc, const char **argv) {