diff --git a/applications/utilities/miscellaneous/foamListTimes/foamListTimes.C b/applications/utilities/miscellaneous/foamListTimes/foamListTimes.C index de7dde00b9..caee1c98a9 100644 --- a/applications/utilities/miscellaneous/foamListTimes/foamListTimes.C +++ b/applications/utilities/miscellaneous/foamListTimes/foamListTimes.C @@ -70,9 +70,16 @@ int main(int argc, char *argv[]) "withFunctionObjects", "execute functionObjects" ); + argList::addBoolOption + ( + "withFunctionEntries", + "execute functionEntries" + ); #include "setRootCase.H" + entry::disableFunctionEntries = !args.optionFound("withFunctionEntries"); + label nProcs = 0; // Create the processor databases diff --git a/etc/config.sh/bash_completion b/etc/config.sh/bash_completion index 654c8d01a1..4d13d9f9a3 100644 --- a/etc/config.sh/bash_completion +++ b/etc/config.sh/bash_completion @@ -1512,7 +1512,7 @@ _foamListTimes_ () local line=${COMP_LINE} local used=$(echo "$line" | grep -oE "\-[a-zA-Z]+ ") - opts="-case -constant -doc -fileHandler -help -latestTime -newTimes -noFunctionObjects -noZero -processor -rm -srcDoc -time -withZero" + opts="-case -constant -doc -fileHandler -help -latestTime -newTimes -noFunctionObjects -noZero -processor -rm -srcDoc -time -withZero -withFunctionEntries -withFunctionObjects" for o in $used ; do opts="${opts/$o/}" ; done extra=""