From bed417bf63006516ee5fb057d81f886cbd5c33c7 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Thu, 1 Feb 2024 14:02:05 +0100
Subject: [PATCH] [docs] Updated some links.

---
 Applications/CLI/CommandLineArgumentParser.cpp    | 15 ++++++++++-----
 .../Utils/FileConverter/GocadSGridReader.cpp      |  5 +++--
 Applications/Utils/MeshEdit/AddLayer.cpp          |  5 +++--
 NumLib/ODESolver/NonlinearSolver.cpp              |  2 +-
 4 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/Applications/CLI/CommandLineArgumentParser.cpp b/Applications/CLI/CommandLineArgumentParser.cpp
index 5bbd350961e..e4c5b2f6963 100644
--- a/Applications/CLI/CommandLineArgumentParser.cpp
+++ b/Applications/CLI/CommandLineArgumentParser.cpp
@@ -23,15 +23,20 @@ CommandLineArguments parseCommandLineArguments(int argc, char* argv[],
 {
     // Parse CLI arguments.
     TCLAP::CmdLine cmd(
-        "OpenGeoSys-6 software.\n"
+        "OpenGeoSys-6 software."
+        "\n"
         "Copyright (c) 2012-2024, OpenGeoSys Community "
-        "(http://www.opengeosys.org) "
+        "(https://www.opengeosys.org) "
+        "\n"
         "Distributed under a Modified BSD License. "
         "See accompanying file LICENSE.txt or "
-        "http://www.opengeosys.org/project/license\n"
+        "https://www.opengeosys.org/project/license"
+        "\n"
         "version: " +
-            GitInfoLib::GitInfo::ogs_version + "\n" +
-            "CMake arguments: " + CMakeInfoLib::CMakeInfo::cmake_args,
+            GitInfoLib::GitInfo::ogs_version +
+            "\n"
+            "CMake arguments: " +
+            CMakeInfoLib::CMakeInfo::cmake_args,
         ' ',
         GitInfoLib::GitInfo::ogs_version + "\n\n" +
             "CMake arguments: " + CMakeInfoLib::CMakeInfo::cmake_args);
diff --git a/Applications/Utils/FileConverter/GocadSGridReader.cpp b/Applications/Utils/FileConverter/GocadSGridReader.cpp
index d5b9be60854..0f3e6784c14 100644
--- a/Applications/Utils/FileConverter/GocadSGridReader.cpp
+++ b/Applications/Utils/FileConverter/GocadSGridReader.cpp
@@ -34,8 +34,9 @@ int main(int argc, char* argv[])
     TCLAP::CmdLine cmd(
         "Reads a Gocad stratigraphic grid file (file ending sg) and writes the "
         "data in the vtk unstructured grid file format. The documentation is "
-        "available at  "
-        "https://www.opengeosys.org/docs/tools/meshing/gocadsgridreader/.\n\n "
+        "available at "
+        "https://www.opengeosys.org/docs/tools/meshing/gocadsgridreader/."
+        "\n"
         "OpenGeoSys-6 "
         "software, version " +
             GitInfoLib::GitInfo::ogs_version +
diff --git a/Applications/Utils/MeshEdit/AddLayer.cpp b/Applications/Utils/MeshEdit/AddLayer.cpp
index 5249a3746da..fba372668df 100644
--- a/Applications/Utils/MeshEdit/AddLayer.cpp
+++ b/Applications/Utils/MeshEdit/AddLayer.cpp
@@ -29,12 +29,13 @@ int main(int argc, char* argv[])
     TCLAP::CmdLine cmd(
         "Adds a layer to an existing mesh."
         "The documentation is available at "
-        "https://docs.opengeosys.org/docs/tools/meshing/addlayer.\n\n"
+        "https://www.opengeosys.org/docs/tools/meshing/addlayer."
+        "\n"
         "OpenGeoSys-6 software, version " +
             GitInfoLib::GitInfo::ogs_version +
             ".\n"
             "Copyright (c) 2012-2024, OpenGeoSys Community "
-            "(http://www.opengeosys.org)",
+            "(https://www.opengeosys.org)",
         ' ', GitInfoLib::GitInfo::ogs_version);
     TCLAP::ValueArg<std::string> mesh_arg(
         "i", "input-mesh-file", "the name of the file containing the mesh",
diff --git a/NumLib/ODESolver/NonlinearSolver.cpp b/NumLib/ODESolver/NonlinearSolver.cpp
index 554cb2d4370..4203095bff1 100644
--- a/NumLib/ODESolver/NonlinearSolver.cpp
+++ b/NumLib/ODESolver/NonlinearSolver.cpp
@@ -398,7 +398,7 @@ NonlinearSolverStatus NonlinearSolver<NonlinearSolverTag::Newton>::solve(
         {
             // TODO could be solved in a better way
             // cf.
-            // https://www.petsc.org/release/docs/manualpages/Vec/VecWAXPY.html
+            // https://petsc.org/release/manualpages/Vec/VecWAXPY
 
             // Copy pointers, replace the one for the given process id.
             std::vector<GlobalVector*> x_new{x};
-- 
GitLab