--- a/relpipe-in-cli.cpp Sun Jul 29 14:42:50 2018 +0200
+++ b/relpipe-in-cli.cpp Thu Aug 09 22:58:38 2018 +0200
@@ -22,7 +22,8 @@
// TODO: help command
if (commandName == L"demo") return new DemoCommand();
else if (commandName == L"generate") return new ArgumentsCommand();
- else if (commandName == L"generate-from-stdin") return new StdInCommand();
+ else if (commandName == L"generate-without-stdin") return new StdInCommand(false); // TODO: just for testing, StdInCommand(false) should work same as ArgumentsCommand()
+ else if (commandName == L"generate-from-stdin") return new StdInCommand(true);
else throw RelpipeCLIException(L"Unknown command: " + commandName, CLI::EXIT_CODE_UNKNOWN_COMMAND);
}