Now by-default prepending a newline to stdout

This commit is contained in:
Leonetienne
2022-05-31 18:26:02 +02:00
parent ba37b4325c
commit d9fb90a01e
2 changed files with 14 additions and 1 deletions

View File

@@ -105,6 +105,9 @@ void CommandlineInterface::Init(int argc, const char* const* argv) {
nupp.RegisterDescription("--puffer-output", "Will digest the entire data before initiating any output.");
nupp.RegisterConstraint("--puffer-output", ParamConstraint(true, DATA_TYPE::VOID, {}, false, {}));
nupp.RegisterDescription("--no-newline", "Don't postfix stdout output with a newline");
nupp.RegisterConstraint("--no-newline", ParamConstraint(true, DATA_TYPE::VOID, {}, false, {}));
/* Now parse */
nupp.Parse(argc, argv);