- Nov 21, 2018
-
-
Mark OLESEN authored
- more filtering in the sed stage to remove non-essential text. Terminate parsing on first appearance of -help-full option.
-
- Aug 08, 2018
-
-
Mark OLESEN authored
- With argList::noFunctionObjects() we use the logic added in 4b933332 (issue #352) By removing the '-noFunctionObjects' option, we automatically suppress the creation of function-objects via Time (with argList as a parameter). There is generally no need in these cases for an additional runTime.functionObjects().off() statement Use the argList::noFunctionObjects() for more direct configuration and reduce unnecessary clutter in the -help information. In previous versions, the -noFunctionObjects would have been redundant anyhow, so we can also just ignore it now instead.
-
- Dec 18, 2017
-
-
Mark OLESEN authored
- include bash completion for paraFoam, and provision for using foamEtcFile as well.
-
- Nov 24, 2017
-
-
Mark OLESEN authored
- unknown options or missing option values now emit a shorter message without the entire usage. This makes it easier to identify the errors and is better aligned with the behaviour of GNU system tools. ==== $ simpleFoam -case Using: OpenFOAM-plus (see www.OpenFOAM.com) Build: plus-01234 Error: option '-case' requires an argument See 'simpleFoam -help' for usage ==== - provide for reduced (-help) and full (-help-full) usage information. In many cases the reduced usage provided sufficient and easier to find the information. - make -srcDoc an alias for -doc-source - no warnings about option aliases for future dates.
-
- Aug 08, 2017
-
-
Mark OLESEN authored
- this reduces the number of functions and allows lazy loading of completion options, which makes it easy to quickly add any other OpenFOAM application in completion. The generic '_of_complete_' function handles (bash) completion for any OpenFOAM application. On the first call for any particular application, it retrieves the available options from the application help output and adds this information to its environmental cache for subsequent use. - Tcsh completion uses the same function via a bash wrapper. But since its wrapper is transient, the on-the-fly generation would be less efficient. For this case, a pre-generated completion_cache can be used, which is generated with bin/tools/foamCreateCompletionCache
-