GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

// Hack: boost::program_options doesn't support repeated "-vv" // and "-vvv" syntax, it also doesn't support omitting the // value of a paremeter, both causes validation failure. It's // not worthwhile to write a custom validator just for exactly // a single special case. Just change argv[] to avoid them. // This must be the first parseCommandLineArguments() to call // in main(). for (int i = 0; i < argc; i++) { const char* arg = argv[i]; if (strcmp(arg, "--verbose") == 0) { argv[i] = "--verbose=1"; } if (strcmp(arg, "-v") == 0) { argv[i] = "--verbose=1"; } if (strcmp(arg, "-vv") == 0) { argv[i] = "--verbose=2"; } else if (strcmp(arg, "-vvv") == 0) { argv[i] = "--verbose=3"; } }

Download link

https://misskey-taube.s3.eu-central-1.wasabisys.com/files/8cf9a1fc-7c81-4c51-b6de-3fbe08517989.webp

Notices where this attachment appears

  1. Embed this notice
    niconiconi (niconiconi@mk.absturztau.be)'s status on Sunday, 19-May-2024 03:04:25 JST niconiconi niconiconi

    It's called Boost because it boosts your blood pressure.

    In conversation Sunday, 19-May-2024 03:04:25 JST from mk.absturztau.be permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.