mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Scripts in bin: tidied functions
This commit is contained in:
@ -60,7 +60,7 @@ options:
|
||||
USAGE
|
||||
}
|
||||
|
||||
error () {
|
||||
error() {
|
||||
usage 1>&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ Foam::polyMesh::removeFiles() method.
|
||||
USAGE
|
||||
}
|
||||
|
||||
error () {
|
||||
error() {
|
||||
exec 1>&2
|
||||
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
||||
usage
|
||||
|
||||
@ -47,7 +47,7 @@ The time directory is the first time directory by default.
|
||||
USAGE
|
||||
}
|
||||
|
||||
error () {
|
||||
error() {
|
||||
exec 1>&2
|
||||
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
||||
usage
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
usage () {
|
||||
usage() {
|
||||
cat <<USAGE
|
||||
|
||||
Usage: ${0##*/} [OPTIONS] ...
|
||||
@ -55,7 +55,7 @@ Requires avconv or mencoder for MPEG-4 output, avconv for WebM output
|
||||
USAGE
|
||||
}
|
||||
|
||||
error () {
|
||||
error() {
|
||||
exec 1>&2
|
||||
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
||||
usage
|
||||
|
||||
@ -64,7 +64,7 @@ options:
|
||||
USAGE
|
||||
}
|
||||
|
||||
error () {
|
||||
error() {
|
||||
exec 1>&2
|
||||
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
||||
usage
|
||||
|
||||
@ -49,7 +49,7 @@ options:
|
||||
USAGE
|
||||
}
|
||||
|
||||
error () {
|
||||
error() {
|
||||
exec 1>&2
|
||||
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
||||
usage
|
||||
|
||||
@ -97,7 +97,7 @@ variables.
|
||||
HELP
|
||||
}
|
||||
|
||||
error () {
|
||||
error() {
|
||||
exec 1>&2
|
||||
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
||||
usage
|
||||
|
||||
Reference in New Issue
Block a user