Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-2203

gfsh status locator/server - Give more descriptive output on empty parameter

    XMLWordPrintableJSON

Details

    Description

      Currently, executing some status commands in gfsh without valid parameters gives a vague explanation/output that might be misleading. Although we have help <command_name> for usage description, displaying 'null' as an output might not be the best idea.

      Current Result

      gfsh>status locator
      null
      
      gfsh>status server
      Server in C:\Users\XXX\git\incubator-geode\geode-assembly\build\install\apache-geode\bin on null is currently not responding.
      

      Improvement

      gfsh>status locator
      SYNTAX
          status locator [--name=value] [--host=value] [--port=value] [--pid=value]
      Use help status locator to display detailed usage information
      
      gfsh>status server
      SYNTAX
          status server [--name=value] [--pid=value] [--dir=value]
      Use help status server to display detailed usage information
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dalyssakim Alyssa Kim
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: