neilcsmith-net commented on code in PR #9670:
URL: https://github.com/apache/netbeans/pull/9670#discussion_r4196410167


##########
ide/projectui/src/org/netbeans/modules/project/ui/groups/GroupOptionProcessor.java:
##########


Review Comment:
   > Isn't accepting typos more user friendly?
   
   Short answer, IMO, no!
   
   I'm of the opinion that doing something different to what the user intended 
when they make an input mistake is very rarely the user friendly option.  
Particularly when allowing partial input.  Tell them what they did wrong, and 
how to correct it.
   
   ```
   No group found matching NameWithTypo.
   Use --list-groups to see available groups.
   To create a new group use --new-group NameWithTypo
   ```
   
   I also don't use the group switching on the CLI much anyway.  Maybe @mbien 
has a thought as I know he's mentioned this somewhere recently.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to