[ 
https://issues.apache.org/jira/browse/GEODE-3468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678541#comment-16678541
 ] 

Darrel Schneider commented on GEODE-3468:
-----------------------------------------

Also "You should" seems too weak for required options. "You must" or "The 
following options are required".

 

> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)

Reply via email to