You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Nick M (Jira)" <ji...@apache.org> on 2024/12/24 14:17:00 UTC

[jira] [Created] (NIFI-14107) no usage info when run nifi.cmd

Nick M created NIFI-14107:
-----------------------------

             Summary: no usage info when run nifi.cmd
                 Key: NIFI-14107
                 URL: https://issues.apache.org/jira/browse/NIFI-14107
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 2.1.0
         Environment: win 10, openjdk 21
            Reporter: Nick M


For 1.28 if we run nifi.cmd without start it show usage info but in 2.1 it's not

1.28:
{code:java}
C:\nifi-1.28.1\bin>nifi.cmd
JAVA_HOME: C:\Program Files\Java\jdk-21
NIFI_HOME: C:\nifi-1.28.1
Usage:
java org.apache.nifi.bootstrap.RunNiFi <command> [options]
Valid commands include:
Start : Start a new instance of Apache NiFi
Stop : Stop a running instance of Apache NiFi
Restart : Stop Apache NiFi, if it is running, and then start a new instance
...................... {code}
2.1:
{code:java}
C:\nifi-2.1.0\bin>nifi.cmd
JAVA_HOME=C:\Program Files\Java\jdk-21
NIFI_HOME=C:\nifi-2.1.0

C:\nifi-2.1.0\bin> {code}
So it is very confusing and we need fix and back show usage info



--
This message was sent by Atlassian Jira
(v8.20.10#820010)