diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-12-04 13:55:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-12-04 13:55:17 +0300 |
commit | 7d443ed86df8ad5cc1bed831a1333f5b550c3f01 (patch) | |
tree | fa6fc863a44156bc79db26c2c94c8fbbdb17cbbb | |
parent | d9d7b5b4d0779e16e5ba3103982351180de7df0e (diff) |
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.
-rw-r--r-- | source/creator/creator_args.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 @@ -585,15 +585,15 @@ 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"); |