From 12e511b3a5817c03721fccf2ff4ae0df3893f066 Mon Sep 17 00:00:00 2001 From: TheTank20 Date: Sat, 2 Sep 2023 11:39:22 -0400 Subject: [PATCH] Update cli.cpp --- src/cli.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cli.cpp b/src/cli.cpp index 63ac32e..8a7825d 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -61,7 +61,7 @@ void CLI::showHelp(char *argv[]) { fmt::print("\t-s --serial\tspecifies a serial to use in the product ID (defaults to random, BINK1998 only)\n"); fmt::print("\t-u --upgrade\tspecifies the Product Key will be an \"Upgrade\" version\n"); fmt::print("\t-V --validate\tproduct key to validate signature\n"); - fmt::print("\t-N --nonewline\tdisables newlines (for easier embedding in other apps)\n"); + fmt::print("\t-N --nonewlines\tdisables newlines (for easier embedding in other apps)\n"); fmt::print("\n"); } @@ -450,7 +450,7 @@ int CLI::BINK1998Generate() { if (this->options.verbose) { fmt::print("\nSuccess count: {}/{}", this->count, this->total); } - if (this->options.nonewline == false) { + if (this->options.nonewlines == false) { fmt::print("\n"); } return 0; @@ -498,7 +498,7 @@ int CLI::BINK2002Generate() { if (this->options.verbose) { fmt::print("\nSuccess count: {}/{}", this->count, this->total); } - if (this->options.nonewline == false) { + if (this->options.nonewlines == false) { fmt::print("\n"); } @@ -574,7 +574,7 @@ int CLI::ConfirmationID() { case SUCCESS: fmt::print(confirmation_id); - if (this->options.nonewline == false) { + if (this->options.nonewlines == false) { fmt::print("\n"); } return 0;