Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7960

bin/solr -h should print generic help

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 5.4
    • scripts and tools
    • 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.

      Attachments

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: