szaszm commented on code in PR #1956:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1956#discussion_r2033492788
##########
minifi_main/MiNiFiMain.cpp:
##########
@@ -196,6 +196,7 @@ int main(int argc, char **argv) {
.help("Generate documentation in the specified directory");
argument_parser.add_argument("-s", "--schema")
.metavar("PATH")
+ .default_value("-")
Review Comment:
with the current version, since the default value is `-`, `stdout` is used
when no parameters are given, as well as when `-` is given as parameter.
So both of these print to the stdout:
- `./minifi --schema`
- `./minifi --schema -`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]