Cli Wording...
This commit is contained in:
parent
ef3ccb876f
commit
19f3d61335
@ -14,7 +14,7 @@ void CommandlineInterface::Init(int argc, const char* const* argv)
|
|||||||
<< "Copyright (c) 2022 Leon Etienne" << std::endl
|
<< "Copyright (c) 2022 Leon Etienne" << std::endl
|
||||||
<< "Ghettocrypt v" << GHETTOCRYPT_VERSION << std::endl
|
<< "Ghettocrypt v" << GHETTOCRYPT_VERSION << std::endl
|
||||||
<< "Ghettocrypt CLI v" << GHETTOCRYPTCLI_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());
|
nupp.SetBriefDescription(ss.str());
|
||||||
ss.str("");
|
ss.str("");
|
||||||
nupp.SetCatchHelp("true");
|
nupp.SetCatchHelp("true");
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#define GHETTOCRYPTCLI_VERSION 0.1
|
#define GHETTOCRYPTCLI_VERSION 0.11
|
||||||
|
Binary file not shown.
@ -123,7 +123,7 @@ const Flexblock GetInputText(bool encryptionMode)
|
|||||||
return ReadFileToBits(CommandlineInterface::Get()["--infile"].GetString());
|
return ReadFileToBits(CommandlineInterface::Get()["--infile"].GetString());
|
||||||
|
|
||||||
// Unreachable
|
// 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)
|
const std::string GetOutfileName(const bool isEncryptionMode)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user