Solr
  1. Solr
  2. SOLR-7960

bin/solr -h should print generic help

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: scripts and tools
    • Labels:
      None

      Description

      Typing only:

      bin/solr
      

      ...prints the generic tool help, but if you add a -h

      bin/solr -h
      

      ...you get an error message and the help for the start command. In fact, any unknown parameter given, such as bin/solr -foo will assume start.

      This is confusing, since -h is a common help option. Could check for the special case where there is only the -h switch given, in which case we should not assume the intention is to do start but to get help.

        Issue Links

          Activity

          Hide
          Jan Høydahl added a comment -

          Will be fixed as part of SOLR-7961

          Show
          Jan Høydahl added a comment - Will be fixed as part of SOLR-7961

            People

            • Assignee:
              Jan Høydahl
              Reporter:
              Jan Høydahl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development