From 7d443ed86df8ad5cc1bed831a1333f5b550c3f01 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 4 Dec 2016 21:55:17 +1100 Subject: 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. --- source/creator/creator_args.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/creator/creator_args.c') diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index c3c76a0d1d3..ab3410d2b7b 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -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"); -- cgit v1.2.3