Cli Wording...

This commit is contained in:
Leonetienne 2022-01-21 21:07:44 +01:00
parent ef3ccb876f
commit 19f3d61335
4 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ void CommandlineInterface::Init(int argc, const char* const* argv)
<< "Copyright (c) 2022 Leon Etienne" << std::endl
<< "Ghettocrypt v" << GHETTOCRYPT_VERSION << std::endl
<< "Ghettocrypt CLI v" << GHETTOCRYPTCLI_VERSION << std::endl
<< "THIS IS EXPERIMENTAL SOFTWARE AND MUST BE CONSIDERED INSECURE. DO NOT USE THIS TO ENCRYPT SENSITIVE DATA! READ THE README FILE ACCESSIBLE AT \"https://github.com/Leonetienne/GhettoCrypt/blob/master/readme.md\"";
<< "THIS IS EXPERIMENTAL SOFTWARE AND MUST BE CONSIDERED INSECURE. DO NOT USE THIS TO ENCRYPT SENSITIVE DATA! READ THE README FILES ACCESSIBLE AT \"https://github.com/Leonetienne/GhettoCrypt/blob/master/readme.md\" AND \"https://github.com/Leonetienne/GhettoCrypt/blob/master/GhettoCryptCLI/readme.md\"";
nupp.SetBriefDescription(ss.str());
ss.str("");
nupp.SetCatchHelp("true");

View File

@ -1,2 +1,2 @@
#pragma once
#define GHETTOCRYPTCLI_VERSION 0.1
#define GHETTOCRYPTCLI_VERSION 0.11

Binary file not shown.

View File

@ -123,7 +123,7 @@ const Flexblock GetInputText(bool encryptionMode)
return ReadFileToBits(CommandlineInterface::Get()["--infile"].GetString());
// Unreachable
throw std::runtime_error("This code should not have been reached. Most likely, the cli argument parser failed making sure at least one key method was supplied.");
throw std::runtime_error("This code should not have been reached. Most likely, the cli argument parser failed making sure at least one input method was supplied.");
}
const std::string GetOutfileName(const bool isEncryptionMode)