[libvirt] [PATCH] doc: fix typo in virsh.pod
Eric Blake
eblake at redhat.com
Tue Nov 2 16:01:21 UTC 2010
On 11/02/2010 04:18 AM, Osier Yang wrote:
> ---
> tools/virsh.pod | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/virsh.pod b/tools/virsh.pod
> index 5932aaa..f677383 100644
> --- a/tools/virsh.pod
> +++ b/tools/virsh.pod
> @@ -301,7 +301,7 @@ L<http://libvirt.org/formatdomain.html#elementsCPU>
>
> The following commands manipulate domains directly, as stated
> previously most commands take domain-id as the first parameter. The
> -I<domain-id> can be specified as an short integer, a name or a full UUID.
> +I<domain-id> can be specified as a short integer, a name or a full UUID.
>
> =over 4
>
> @@ -326,7 +326,7 @@ If I<--console> is requested, attach to the console after creation.
> B<Example>
>
> virsh dumpxml <domain-id> > domain.xml
> - edit domain.xml
> + virsh edit domain.xml
> virsh create < domain.xml
NACK. The whole point is that you are using your external editor here;
that is:
virsh edit dom
is shorthand for:
virsh dumpxml dom > domain.xml
$EDITOR domain.xml
virsh create < domain.xml
rm domain.xml
However, a patch that changes 'edit' to $EDITOR would be welcome (and
there's more than one instance that needs fixing; for example, see also
net-edit).
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101102/a50f7381/attachment-0001.sig>
More information about the libvir-list
mailing list