Help text: move "Cycles Render" options below "Render" options

Keep "Misc" options last.
This commit is contained in:
Campbell Barton
2023-05-27 14:19:57 +10:00
parent dd12952cdd
commit 93d313ba20

View File

@@ -509,6 +509,21 @@ static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), vo
BLI_args_print_arg_doc(ba, "--engine");
BLI_args_print_arg_doc(ba, "--threads");
# ifdef WITH_CYCLES
printf("Cycles Render Options:\n");
printf("\tCycles add-on options must be specified following a double dash.\n");
printf("\n");
printf("--cycles-device OPTIX\n");
printf("\tSet the device used for rendering. Options: CPU, CUDA, OPTIX, HIP, ONEAPI, METAL.\n");
printf("\n");
printf("\tAppend +CPU to a GPU device to render on both CPU and GPU.\n");
printf("\n");
printf("\tExample:\n");
printf("\t# blender -b file.blend -f 20 -- --cycles-device OPTIX\n");
printf("--cycles-print-stats\n");
printf("\tLog statistics about render memory and time usage.\n");
# endif /*WITH_CYCLES*/
printf("\n");
printf("Format Options:\n");
BLI_args_print_arg_doc(ba, "--render-format");
@@ -640,21 +655,6 @@ static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), vo
BLI_args_print_arg_doc(ba, "--");
# ifdef WITH_CYCLES
printf("Cycles Render Options:\n");
printf("\tCycles add-on options must be specified following a double dash.\n");
printf("\n");
printf("--cycles-device OPTIX\n");
printf("\tSet the device used for rendering. Options: CPU, CUDA, OPTIX, HIP, ONEAPI, METAL.\n");
printf("\n");
printf("\tAppend +CPU to a GPU device to render on both CPU and GPU.\n");
printf("\n");
printf("\tExample:\n");
printf("\t# blender -b file.blend -f 20 -- --cycles-device OPTIX\n");
printf("--cycles-print-stats\n");
printf("\tLog statistics about render memory and time usage.\n");
# endif /*WITH_CYCLES*/
// printf("\n");
// printf("Experimental Features:\n");