Correct copyright print for GLPK (#7015)
authorAndrew V. Jones <andrewvaughanj@gmail.com>
Mon, 16 Aug 2021 03:24:25 +0000 (04:24 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Aug 2021 03:24:25 +0000 (20:24 -0700)
In `master`, starting `cvc5` interactively will give you:

```
  glpk-cut-log -  a modified version of GPLK, the GNU Linear Programming Kit
  See http://github.com/timothy-king/glpk-cut-log for copyrightinformation
```

Notice: there's a double-space after the dash following the library name, and there's no space between "copyrightinformation".

This commit corrects this print such that it gives:

```
  glpk-cut-log - a modified version of GPLK, the GNU Linear Programming Kit
  See http://github.com/timothy-king/glpk-cut-log for copyright information
```

Signed-off-by: Andrew V. Jones <andrewvaughanj@gmail.com>
src/base/configuration.cpp

index c6b0045743ea26e884d34c9932a9744c6cc82e1a..a370a0c471a94c39a82e3e42eebe4ce9ca0f4c24 100644 (file)
@@ -195,10 +195,10 @@ std::string Configuration::copyright() {
          << "  See http://www.ginac.de/CLN for copyright information.\n\n";
     }
     if (Configuration::isBuiltWithGlpk()) {
-      ss << "  glpk-cut-log -  a modified version of GPLK, "
+      ss << "  glpk-cut-log - a modified version of GPLK, "
          << "the GNU Linear Programming Kit\n"
          << "  See http://github.com/timothy-king/glpk-cut-log for copyright"
-         << "information\n\n";
+         << " information\n\n";
     }
   }