[Bf-blender-cvs] [17b6143] master: Correct help: -b/--background does not take a file argument
Lawrence D'Oliveiro
noreply at git.blender.org
Tue Feb 4 18:52:03 CET 2014
Commit: 17b61432441b72ed02cd99f7c7caeddd2b93f73b
Author: Lawrence D'Oliveiro
Date: Tue Feb 4 18:38:59 2014 +0100
https://developer.blender.org/rB17b61432441b72ed02cd99f7c7caeddd2b93f73b
Correct help: -b/--background does not take a file argument
The documentation for the -b/--background option incorrectly states that it
takes a <file>, however it can run also without a file with e.g. a script.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D250
===================================================================
M source/creator/creator.c
===================================================================
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 7e59255..8559a08 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -1378,7 +1378,7 @@ static void setupArguments(bContext *C, bArgs *ba, SYS_SystemHandle *syshandle)
#undef PY_ENABLE_AUTO
#undef PY_DISABLE_AUTO
- BLI_argsAdd(ba, 1, "-b", "--background", "<file>\n\tLoad <file> in background (often used for UI-less rendering)", background_mode, NULL);
+ BLI_argsAdd(ba, 1, "-b", "--background", "\n\tRun in background (often used for UI-less rendering)", background_mode, NULL);
BLI_argsAdd(ba, 1, "-a", NULL, playback_doc, playback_mode, NULL);
More information about the Bf-blender-cvs
mailing list