szaszm commented on code in PR #1956:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1956#discussion_r2027068524


##########
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:
   That was my first idea too. I don't know if it's better or not, but I 
couldn't figure out how to do it, that's why I went with the default value 
approach instead. The `-` value for filename arguments is commonly used to mean 
stdout anyway.



-- 
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]

Reply via email to