Fix incorrect help text for the default for script auto-execution

The default changed in [0] but the help text wasn't updated.

[0]: 412c043474
This commit is contained in:
Campbell Barton
2023-05-28 14:57:32 +10:00
parent 1b7c6cf150
commit 379ff4befd

View File

@@ -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[] =