From a753f0ac0b135f868646e8833c69dcc1e95c6ef5 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Fri, 1 Nov 2019 19:28:57 +0100 Subject: [PATCH] STYLE: alignment and capitalization of website address --- README.md | 2 +- bin/tools/foamUpdateCaseFileHeader | 2 +- bin/tools/source-bashrc | 4 ++-- src/OpenFOAM/db/IOobject/IOobjectWriteHeader.C | 4 ++-- src/OpenFOAM/global/version/foamVersion.C | 2 +- src/OpenFOAM/include/foamVersion.H | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 7aa40e309b..498422a7bb 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ not guaranteed to have any correspondence to the OpenFOAM release information is embedded into each application. For example, as displayed from `blockMesh -help`: ``` -Using: OpenFOAM-v1812.local (1812) - see www.OpenFOAM.com +Using: OpenFOAM-v1812.local (1812) - visit www.openfoam.com Build: 65d6551ff7-20190530 (patch=190531) Arch: LSB;label=32;scalar=64 ``` diff --git a/bin/tools/foamUpdateCaseFileHeader b/bin/tools/foamUpdateCaseFileHeader index 8245877b5d..278b3a4bad 100755 --- a/bin/tools/foamUpdateCaseFileHeader +++ b/bin/tools/foamUpdateCaseFileHeader @@ -94,7 +94,7 @@ printHeader() | ========= | | | \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\\\ / O peration | Version: $version | -| \\\\ / A nd | Web: www.OpenFOAM.com | +| \\\\ / A nd | Website: www.openfoam.com | | \\\\/ M anipulation | | \\*---------------------------------------------------------------------------*/ FoamFile diff --git a/bin/tools/source-bashrc b/bin/tools/source-bashrc index 01c8fe37ee..d2f3b25c6f 100644 --- a/bin/tools/source-bashrc +++ b/bin/tools/source-bashrc @@ -66,8 +66,8 @@ then then info="$(foamEtcFile -show-patch 2>/dev/null)" - # echo "Using: OpenFOAM-$WM_PROJECT_VERSION ($FOAM_API${info:+ patch=$info}) - see www.OpenFOAM.com" 1>&2 - echo "Using: OpenFOAM-$WM_PROJECT_VERSION${info:+ (patch=$info)} - see www.OpenFOAM.com" 1>&2 + # echo "Using: OpenFOAM-$WM_PROJECT_VERSION ($FOAM_API${info:+ patch=$info}) - visit www.openfoam.com" 1>&2 + echo "Using: OpenFOAM-$WM_PROJECT_VERSION${info:+ (patch=$info)} - visit www.openfoam.com" 1>&2 echo "Arch: $WM_OPTIONS (mpi=$FOAM_MPI)" 1>&2 ## echo "$WM_PROJECT_DIR" 1>&2 diff --git a/src/OpenFOAM/db/IOobject/IOobjectWriteHeader.C b/src/OpenFOAM/db/IOobject/IOobjectWriteHeader.C index dc8e72d912..27fdf116a6 100644 --- a/src/OpenFOAM/db/IOobject/IOobjectWriteHeader.C +++ b/src/OpenFOAM/db/IOobject/IOobjectWriteHeader.C @@ -37,7 +37,7 @@ License | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: VERSION | -| \\ / A nd | Web: www.OpenFOAM.com | +| \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -85,7 +85,7 @@ Foam::Ostream& Foam::IOobject::writeBanner(Ostream& os, bool noHint) "| \\\\ / O peration |" " Version: " << paddedVersion << "|\n" "| \\\\ / A nd |" - " Web: www.OpenFOAM.com |\n" + " Website: www.openfoam.com |\n" "| \\\\/ M anipulation |" " |\n" "\\*-----------------------------------------" diff --git a/src/OpenFOAM/global/version/foamVersion.C b/src/OpenFOAM/global/version/foamVersion.C index 5538821312..1243d425e0 100644 --- a/src/OpenFOAM/global/version/foamVersion.C +++ b/src/OpenFOAM/global/version/foamVersion.C @@ -44,7 +44,7 @@ bool Foam::foamVersion::patched() void Foam::foamVersion::printBuildInfo(const bool full) { Info<< "Using: OpenFOAM-" << foamVersion::version.c_str() - << " (" << foamVersion::api << ") - see www.OpenFOAM.com\n" + << " (" << foamVersion::api << ") - visit www.openfoam.com\n" << "Build: " << foamVersion::build.c_str(); if (foamVersion::patched()) diff --git a/src/OpenFOAM/include/foamVersion.H b/src/OpenFOAM/include/foamVersion.H index 7385593cc0..674f69feeb 100644 --- a/src/OpenFOAM/include/foamVersion.H +++ b/src/OpenFOAM/include/foamVersion.H @@ -106,9 +106,9 @@ namespace Foam // // Eg, // \code - // Using: OpenFOAM- (see www.OpenFOAM.com) - // Build: - // Arch: "" + // Using: OpenFOAM- (API) - visit www.openfoam.com + // Build: (patch=...) + // Arch: // \endcode // // \param full includes Arch information