virsh-completer: modify and fix bug in virshPoolTypeCompleter, now used for more commands

Signed-off-by: Adam Julis <ajulis@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Adam Julis
2024-02-20 10:31:34 +01:00
committed by Michal Privoznik
parent c8ca9d0118
commit 7cb4a68500
3 changed files with 14 additions and 4 deletions

View File

@@ -32,6 +32,10 @@ virshPoolEventNameCompleter(vshControl *ctl,
const vshCmd *cmd,
unsigned int flags);
enum {
VIRSH_POOL_TYPE_COMPLETER_COMMA = 1 << 0,
};
char **
virshPoolTypeCompleter(vshControl *ctl,
const vshCmd *cmd,