exceptionfactory commented on a change in pull request #5356:
URL: https://github.com/apache/nifi/pull/5356#discussion_r702972635



##########
File path: nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java
##########
@@ -185,13 +187,14 @@ private static void printUsage() {
     }
 
     public static void main(String[] args) throws IOException, 
InterruptedException {
-        if (args.length < 1 || args.length > 3) {
+        if (args.length < 1 || args.length > 4) {
             printUsage();
             return;
         }
 
         File dumpFile = null;
         boolean verbose = false;
+        String statusHistoryDays = null;

Review comment:
       Using `java.time.Duration` to represent the parsed value would be a 
helpful approach.




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