Standardize lttng command line usage text
[lttng-tools.git] / src / bin / lttng / commands / start.c
index 44554fb37e223d11f62cb0d0f7bce33e096f79f2..b1840c3e85f2cfd1ce4e82debb035663894a0908 100644 (file)
@@ -47,11 +47,12 @@ static struct poptOption long_options[] = {
  */
 static void usage(FILE *ofp)
 {
-       fprintf(ofp, "usage: lttng start [options] [NAME]\n");
+       fprintf(ofp, "usage: lttng start [NAME] [OPTIONS]\n");
        fprintf(ofp, "\n");
        fprintf(ofp, "Where NAME is an optional session name. If not specified, lttng will\n");
        fprintf(ofp, "get it from the configuration directory (.lttng).\n");
        fprintf(ofp, "\n");
+       fprintf(ofp, "Options:\n");
        fprintf(ofp, "  -h, --help               Show this help\n");
        fprintf(ofp, "      --list-options       Simple listing of options\n");
        fprintf(ofp, "\n");
This page took 0.025954 seconds and 4 git commands to generate.