cli: put the project's version on the first line with no args.
[babeltrace.git] / cli / babeltrace-cfg-cli-args.c
index ad83e4c3254592e96d180648300192508c912950..293b0fe44654eb7b1995b1fd22f144109f9ea9aa 100644 (file)
@@ -4842,6 +4842,8 @@ struct bt_config *bt_config_cli_args_create(int argc, const char *argv[],
        }
 
        if (argc <= 1) {
+               print_version();
+               puts("");
                print_gen_usage(stdout);
                goto end;
        }
This page took 0.023798 seconds and 4 git commands to generate.