Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xe autocompletion: Exclude previously entered parameters before deciding
whether to show optionality of the parameters Fixes the bug when optionality of parameters would be shown when all the remaining parameters were of the same category, autocompleting the noise: ``` $ xe vm-param-get <TAB> OPTIONAL: database: REQUIRED: param-name= OPTIONAL: param-key= REQUIRED: uuid= $ xe vm-param-get param-name=SMTH uuid=SMTH <TAB> <- automatically completes to $ xe vm-param-get param-name=SMTH uuid=SMTH OPTIONAL: ``` Now works as intended: ``` $ xe vm-param-get param-name=SMTH uuid=SMTH <TAB> database: param-key= ``` Signed-off-by: Andrii Sultanov <[email protected]>
- Loading branch information