CONFIG: update completion cache (csh)

- drop the '-doc-source' from csh completion (rarely used option)
- includes the '-mpi-thread' and other newer options
This commit is contained in:
Mark Olesen
2023-06-21 15:04:35 +02:00
parent 09edb23c1d
commit c6741f5073
3 changed files with 278 additions and 320 deletions

View File

@ -6,7 +6,7 @@
# \\ / A nd | www.openfoam.com
# \\/ M anipulation |
#------------------------------------------------------------------------------
# Copyright (C) 2017-2022 OpenCFD Ltd.
# Copyright (C) 2017-2023 OpenCFD Ltd.
#------------------------------------------------------------------------------
# License
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
@ -144,6 +144,7 @@ HEADER
# -help-full
#
# Ignores
# -doc-source Advanced (deprecated?) option
# -help-man Internal option
# -hostRoots Advanced distributed run option
# -roots Advanced distributed run option
@ -163,7 +164,8 @@ extractOptions()
local helpText=$($appName -help-full 2>/dev/null | \
sed -ne '1,/^[Oo]ptions:/d' \
-e '/^ \{8\}/d;' \
-e 's/^ *//; /^$/d; /^[^-]/d; /^--/d; /^-help-man/d;' \
-e 's/^ *//; /^$/d; /^[^-]/d; /^--/d;' \
-e '/^-doc-source/d; /^-help-man/d;' \
-e '/^-hostRoots /d; /^-roots /d;' \
-e '/^-lib /d; /^-no-libs /d;' \
-e '/^-[a-z]*-switch /d;' \