[libvirt PATCH 4/5] vsh: setmaxmem: Mark '--kilobytes' as deprecated

Tim Wiederhake posted 5 patches 4 years, 10 months ago
[libvirt PATCH 4/5] vsh: setmaxmem: Mark '--kilobytes' as deprecated
Posted by Tim Wiederhake 4 years, 10 months ago
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
---
 tools/virsh-domain.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 32bd048d26..9f0e3e1a5e 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -9065,6 +9065,7 @@ static const vshCmdOptDef opts_setmaxmem[] = {
     VIRSH_COMMON_OPT_DOMAIN_FULL(0),
     {.name = "kilobytes",
      .type = VSH_OT_ALIAS,
+     .flags = VSH_OFLAG_DEPRECATED,
      .help = "size"
     },
     {.name = "size",
-- 
2.26.2