From 379ff4befdcaf312e056a452f8ffd8c07ff90d3a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 28 May 2023 14:57:32 +1000 Subject: [PATCH] Fix incorrect help text for the default for script auto-execution The default changed in [0] but the help text wasn't updated. [0]: 412c04347440fa5e480b69a07b20ff1399775c5b --- source/creator/creator_args.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 4d60f0515fc..7be3fd18f80 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -706,12 +706,12 @@ static int arg_handle_arguments_end(int UNUSED(argc), } /* only to give help message */ -# ifndef WITH_PYTHON_SECURITY /* default */ -# define PY_ENABLE_AUTO ", (default)" -# define PY_DISABLE_AUTO "" -# else +# ifdef WITH_PYTHON_SECURITY /* default */ # define PY_ENABLE_AUTO "" -# define PY_DISABLE_AUTO ", (compiled as non-standard default)" +# define PY_DISABLE_AUTO ", (default)" +# else +# define PY_ENABLE_AUTO ", (default, non-standard compilation option)" +# define PY_DISABLE_AUTO "" # endif static const char arg_handle_python_set_doc_enable[] =