]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix snapshot-create-as syntax in help output
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 12 Mar 2013 15:34:31 +0000 (16:34 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 15 Mar 2013 14:05:44 +0000 (15:05 +0100)
commit66f1bbc35012b36d7af82dec9fa956b84b4ba8e9
tree3ea1d124628a909370d2eead49d006c073b9f79b
parentabfff210060625af8914e28601f1ec6ed96b05ae
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> ...
tools/virsh-snapshot.c