From: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx> If some command option should be phased out, we need to hide it. But for backwards compatibility, we had to keep those obsolete codes. With this flag, we could keep most of the old codes and let tools like virsh know don't show it. Signed-off-by: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx> --- tools/virsh.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/virsh.h b/tools/virsh.h index f978d94..029ae9f 100644 --- a/tools/virsh.h +++ b/tools/virsh.h @@ -136,6 +136,7 @@ enum { VSH_OFLAG_REQ = (1 << 0), /* option required */ VSH_OFLAG_EMPTY_OK = (1 << 1), /* empty string option allowed */ VSH_OFLAG_REQ_OPT = (1 << 2), /* --optionname required */ + VSH_OFLAG_IGNORE = (1 << 3), /* keep this option but don't show it to users */ }; /* forward declarations */ -- 1.8.2.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list