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



##########
File path: nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java
##########
@@ -216,6 +223,46 @@ public static void main(String[] args) throws IOException, 
InterruptedException
                 dumpFile = null;
                 verbose = false;
             }
+        } else if (cmd.equalsIgnoreCase("status-history")) {

Review comment:
       - **TC1.:**
   Fixed the outdated error message.
   - **TC2.:**
   Added the log to the cmdLogger as well.
   - **TC3-4-5.:**
   The statusHistoryDays default value was not assigned. I fixed it, thank you. 
   - **TC6.:** 
   The beginning of the main method does the validation based on the number of 
parameters globally, which I think I can't change.
   ```
   if (args.length < 1 || args.length > 3) {
               printUsage();
               return;
   }
   ```




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