Swapnil Bawaskar created GEODE-3468:
---------------------------------------

             Summary: improve error message for an incomplete gfsh command
                 Key: GEODE-3468
                 URL: https://issues.apache.org/jira/browse/GEODE-3468
             Project: Geode
          Issue Type: Improvement
          Components: gfsh
            Reporter: Swapnil Bawaskar


When a user types in a gfsh command that is missing some required parameters, 
in the error message we should only list the parameters that are required.

For example, we show the below exception:
{noformat}
gfsh>create gateway-sender --id=123
You should specify option (--group, --member, --remote-distributed-system-id, 
--parallel, --manual-start, --socket-buffer-size, --socket-read-timeout, 
--enable-batch-conflation, --batch-size, --batch-time-interval, 
--enable-persistence, --disk-store-name, --disk-synchronous, 
--maximum-queue-memory, --alert-threshold, --dispatcher-threads, 
--order-policy, --gateway-event-filter, --gateway-transport-filter) for this 
command
{noformat}
instead we should only have shown:
{noformat}
gfsh>create gateway-sender --id=123
You should specify option (--remote-distributed-system-id) for this command
{noformat}
since that is the only missing required parameter.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to