[Bf-blender-cvs] [d1297e01acd] master: Docs: correct --help text

Campbell Barton noreply at git.blender.org
Tue Jun 18 13:06:19 CEST 2019


Commit: d1297e01acdca231bbaf367fc19280821efde209
Author: Campbell Barton
Date:   Tue Jun 18 18:34:42 2019 +1000
Branches: master
https://developer.blender.org/rBd1297e01acdca231bbaf367fc19280821efde209

Docs: correct --help text

Also correct description indentation.

===================================================================

M	release/scripts/presets/keyconfig/blender.py
M	source/creator/creator_args.c

===================================================================

diff --git a/release/scripts/presets/keyconfig/blender.py b/release/scripts/presets/keyconfig/blender.py
index ac773e21d94..0421a731ee0 100644
--- a/release/scripts/presets/keyconfig/blender.py
+++ b/release/scripts/presets/keyconfig/blender.py
@@ -115,9 +115,9 @@ class Prefs(bpy.types.KeyConfigPreferences):
             "Activate some pie menus on drag,\n"
             "allowing the tapping the same key to have a secondary action.\n"
             "\n"
-             "\u2022 Tapping Tab in the 3D view toggles edit-mode, drag for mode menu.\n"
-             "\u2022 Tapping Z in the 3D view toggles wireframe, drag for draw modes.\n"
-             "\u2022 Tapping Tilde in the 3D view for first person navigation, drag for view axes"
+            "\u2022 Tapping Tab in the 3D view toggles edit-mode, drag for mode menu.\n"
+            "\u2022 Tapping Z in the 3D view toggles wireframe, drag for draw modes.\n"
+            "\u2022 Tapping Tilde in the 3D view for first person navigation, drag for view axes"
         ),
         default=False,
         update=update_fn,
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c
index e60e104d184..24aae3d1fc2 100644
--- a/source/creator/creator_args.c
+++ b/source/creator/creator_args.c
@@ -650,10 +650,7 @@ static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), vo
   printf("Argument Parsing:\n");
   printf("\tArguments must be separated by white space, eg:\n");
   printf("\t# blender -ba test.blend\n");
-  printf("\t...will ignore the 'a'.\n");
-  printf("\t# blender -b test.blend -f8\n");
-  printf(
-      "\t...will ignore '8' because there is no space between the '-f' and the frame value.\n\n");
+  printf("\t...will exit since '-ba' is an unknown argument.\n");
 
   printf("Argument Order:\n");
   printf("\tArguments are executed in the order they are given. eg:\n");



More information about the Bf-blender-cvs mailing list