diff options
author | Lin Ma <lma@suse.com> | 2020-11-10 17:50:54 +0800 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2020-11-10 18:34:04 +0100 |
commit | f8b3e98a01ae5ec9f8ea2b9efd1493ffa196e5ec (patch) | |
tree | e74b929eb72d80cba07534349d50f1330999f6bb /tools/virsh-domain.c | |
parent | 4583a49ccf41e78c4f2cc7788a193a6c5509bd09 (diff) | |
download | libvirt-f8b3e98a01ae5ec9f8ea2b9efd1493ffa196e5ec.tar.gz |
virsh: Add serial/parallel device name completion to console command
Signed-off-by: Lin Ma <lma@suse.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'tools/virsh-domain.c')
-rw-r--r-- | tools/virsh-domain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 675d96440d..022dbdca3c 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -2960,6 +2960,7 @@ static const vshCmdOptDef opts_console[] = { VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_ACTIVE), {.name = "devname", /* sc_prohibit_devname */ .type = VSH_OT_STRING, + .completer = virshDomainConsoleCompleter, .help = N_("character device name") }, {.name = "force", |