Docs: Show 'Other Options' last in --help

Own error when changing order,
moving experimental features last made some sense,
but causes them to be listed twice.

Reorder and comment to avoid it happening again.
This commit is contained in:
Campbell Barton 2016-12-04 21:55:17 +11:00
parent d9d7b5b4d0
commit 7d443ed86d
1 changed files with 5 additions and 5 deletions

View File

@ -584,16 +584,16 @@ static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), vo
BLI_argsPrintArgDoc(ba, "--");
printf("\n");
printf("Other Options:\n");
BLI_argsPrintOtherDoc(ba);
/* keep last args */
printf("\n");
printf("Experimental Features:\n");
BLI_argsPrintArgDoc(ba, "--enable-new-depsgraph");
BLI_argsPrintArgDoc(ba, "--enable-new-basic-shader-glsl");
/* Other options _must_ be last (anything not handled will show here) */
printf("\n");
printf("Other Options:\n");
BLI_argsPrintOtherDoc(ba);
printf("\n");
printf("Argument Parsing:\n");
printf("\tArguments must be separated by white space, eg:\n");