Docs: add missing newline to debug_gpu_shader_source doc-string

Also use term "directory" (as used elsewhere) & minor tweak to warning.
This commit is contained in:
Campbell Barton
2025-10-14 11:26:03 +11:00
parent eedf15e3b7
commit 5cda4b188c
2 changed files with 7 additions and 5 deletions

View File

@@ -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

View File

@@ -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) {