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

bin/solr stop/start/restart should complain about missing value for options that expect a value.

    XMLWordPrintableJSON

Details

    Description

      bin/solr has a -a option that expects a second parameter. If one is not provided, it hangs. It should complain and exit just like -e option does.

      The most common time I hit this is when I try to do bin/solr stop -all and instead just type bin/solr stop -a as I am more used to give full name options with double-dash prefix (Unix conventions, I guess).

      Attachments

        1. SOLR-6962v2.patch
          1 kB
          Vamsee K. Yarlagadda
        2. SOLR-6962.patch
          0.8 kB
          Vamsee K. Yarlagadda

        Issue Links

          Activity

            People

              epugh Eric Pugh
              arafalov Alexandre Rafalovitch
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m