From 5cda4b188c6301cf85b2002583de13791052ee0d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 14 Oct 2025 11:26:03 +1100 Subject: [PATCH] Docs: add missing newline to debug_gpu_shader_source doc-string Also use term "directory" (as used elsewhere) & minor tweak to warning. --- source/creator/creator.cc | 8 +++++--- source/creator/creator_args.cc | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/source/creator/creator.cc b/source/creator/creator.cc index 59587d28824..e0a866f87d4 100644 --- a/source/creator/creator.cc +++ b/source/creator/creator.cc @@ -553,9 +553,11 @@ int main(int argc, WM_init(C, argc, argv); #ifndef WITH_PYTHON - printf( - "\n* WARNING * - Blender compiled without Python!\n" - "this is not intended for typical usage\n\n"); + fprintf(stderr, + "\n" + "WARNING: Blender compiled without Python!\n" + "This is not intended for typical usage.\n" + "\n"); #endif #ifdef WITH_FREESTYLE diff --git a/source/creator/creator_args.cc b/source/creator/creator_args.cc index 02129e74f90..6611caa2506 100644 --- a/source/creator/creator_args.cc +++ b/source/creator/creator_args.cc @@ -1548,8 +1548,8 @@ static int arg_handle_debug_gpu_scope_capture_set(int argc, const char **argv, v static const char arg_handle_debug_gpu_shader_source_doc[] = "\n" - "\tCapture the GPU commands issued inside the give scope name." - "\tFiles are saved in the current working directory inside a folder named \"Shaders\"."; + "\tCapture the GPU commands issued inside the give scope name.\n" + "\tFiles are saved in the current working directory inside a directory named \"Shaders\"."; static int arg_handle_debug_gpu_shader_source(int argc, const char **argv, void * /*data*/) { if (argc > 1) {