Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xe-cli completion: Hide COMPREPLY manipulation behind functions
Though the majority of completions were already using set_completions and the like to add completion suggestions, there were two leftovers still needlessly changing COMPREPLY themselves. This caused bugs, as in the case of xe vm-import filename=<TAB> autocompleting all of the filenames into the prompt instead of presenting the choice. Let only these functions operate on COMPREPLY directly. Signed-off-by: Andrii Sultanov <[email protected]>
- Loading branch information