Correct --help message
authorCampbell Barton <ideasman42@gmail.com>
Wed, 1 Jul 2015 14:20:09 +0000 (00:20 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 1 Jul 2015 14:24:10 +0000 (00:24 +1000)
source/creator/creator.c

index a67dbd5a5c9693601df1ad414d28bb25d54ec583..2af3fd9bf65ea9b17e9e7b7d814ac0ab279338b0 100644 (file)
@@ -325,6 +325,7 @@ static int print_help(int UNUSED(argc), const char **UNUSED(argv), void *data)
        BLI_argsPrintArgDoc(ba, "--debug-depsgraph");
        BLI_argsPrintArgDoc(ba, "--debug-depsgraph-no-threads");
 
+       BLI_argsPrintArgDoc(ba, "--debug-gpumem");
        BLI_argsPrintArgDoc(ba, "--debug-wm");
        BLI_argsPrintArgDoc(ba, "--debug-all");
 
@@ -336,7 +337,6 @@ static int print_help(int UNUSED(argc), const char **UNUSED(argv), void *data)
        printf("Misc Options:\n");
        BLI_argsPrintArgDoc(ba, "--factory-startup");
        printf("\n");
-       BLI_argsPrintArgDoc(ba, "--env-system-config");
        BLI_argsPrintArgDoc(ba, "--env-system-datafiles");
        BLI_argsPrintArgDoc(ba, "--env-system-scripts");
        BLI_argsPrintArgDoc(ba, "--env-system-python");
@@ -1554,7 +1554,7 @@ static void setupArguments(bContext *C, bArgs *ba, SYS_SystemHandle *syshandle)
 
        BLI_argsAdd(ba, 1, NULL, "--verbose", "<verbose>\n\tSet logging verbosity level.", set_verbosity, NULL);
 
-       BLI_argsAdd(ba, 1, NULL, "--factory-startup", "\n\tSkip reading the "STRINGIFY (BLENDER_STARTUP_FILE)" in the users home directory", set_factory_startup, NULL);
+       BLI_argsAdd(ba, 1, NULL, "--factory-startup", "\n\tSkip reading the " STRINGIFY(BLENDER_STARTUP_FILE) " in the users home directory", set_factory_startup, NULL);
 
        /* TODO, add user env vars? */
        BLI_argsAdd(ba, 1, NULL, "--env-system-datafiles",  "\n\tSet the "STRINGIFY_ARG (BLENDER_SYSTEM_DATAFILES)" environment variable", set_env, NULL);