diff --git a/bin/foamMonitor b/bin/foamMonitor index a15bd5b168..5a4f736a0b 100755 --- a/bin/foamMonitor +++ b/bin/foamMonitor @@ -7,7 +7,7 @@ # \\/ M anipulation | #------------------------------------------------------------------------------- # Copyright (C) 2015 OpenFOAM Foundation -# Copyright (C) 2019 OpenCFD Ltd. +# Copyright (C) 2019-2021 OpenCFD Ltd. #------------------------------------------------------------------------------ # License # This file is part of OpenFOAM. @@ -34,35 +34,49 @@ # - requires gnuplot, gnuplot_x11 # #------------------------------------------------------------------------------ -usage() { - exec 1>&2 - while [ "$#" -ge 1 ]; do echo "$1"; shift; done +printHelp() { cat< -options: - -h | -help prints the usage - -i | -idle