diff --git a/bin/foamNew b/bin/foamNew index 5d61de6333..adb1f78116 100755 --- a/bin/foamNew +++ b/bin/foamNew @@ -3,7 +3,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------- # License @@ -30,33 +30,39 @@ # #------------------------------------------------------------------------------ usage() { - exec 1>&2 - while [ "$#" -ge 1 ]; do echo "$1"; shift; done cat< {args} +Usage: ${0##*/} [OPTIONS] +options: + -help | -h print the usage + -source | -s creates a class source file + -template | -t