[ https://issues.apache.org/jira/browse/IGNITE-18221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Gagarkin reassigned IGNITE-18221: -------------------------------------- Assignee: Ivan Gagarkin > Filter non-repitable options in interactive suggestions > ------------------------------------------------------- > > Key: IGNITE-18221 > URL: https://issues.apache.org/jira/browse/IGNITE-18221 > Project: Ignite > Issue Type: Task > Components: cli > Reporter: Aleksandr > Assignee: Ivan Gagarkin > Priority: Major > Labels: ignite-3 > > 'cluster init --cluster-name mycluster <TAB>' will display --cluster-name as > a suggested option. If fact, this option could be used only once, so we do > not have to display suggestions with it anymore. > Look through all such options and add them to a special group like > "non-repeatable options". I think 'Options' enum is a good place to put this > info into. > Also, I suggest filtering not only non-repeatable options but short aliases, > too. I don't think the user is happy to see --node-name and -n both at the > same time. I think it is enough to display only long option names. -- This message was sent by Atlassian Jira (v8.20.10#820010)