mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
Fix snapshot-create-as syntax in help output
According to the man page, the memspec parameter should have the '--memspec' option mandatory and this is as close as we can get to that. What this change does is explained below. man virsh: snapshot-create-as ... [[--live] [--memspec memspec]] virsh help snapshot-create-as before this patch: SYNOPSIS snapshot-create-as ... [<memspec>] ... ... OPTIONS [--memspec] <string> ... virsh help snapshot-create-as after this patch: SYNOPSIS snapshot-create-as ... [--memspec <string>] ... ... OPTIONS --memspec <string> ...
This commit is contained in:
parent
abfff21006
commit
66f1bbc350
@ -397,7 +397,7 @@ static const vshCmdOptDef opts_snapshot_create_as[] = {
|
||||
.help = N_("take a live snapshot")
|
||||
},
|
||||
{.name = "memspec",
|
||||
.type = VSH_OT_DATA,
|
||||
.type = VSH_OT_STRING,
|
||||
.flags = VSH_OFLAG_REQ_OPT,
|
||||
.help = N_("memory attributes: [file=]name[,snapshot=type]")
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user