[libvirt] [libvirt-sandbox PATCH] virt-sandbox: document how to pass arguments to commands

Daniel P. Berrange berrange at redhat.com
Fri Apr 15 09:00:46 UTC 2016


On Fri, Apr 15, 2016 at 10:45:14AM +0200, Guido Günther wrote:
> The example was already correct but the synopsis didn't mention '--' is
> required.
> ---
>  bin/virt-sandbox.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/bin/virt-sandbox.c b/bin/virt-sandbox.c
> index 9495e85..d6a441c 100644
> --- a/bin/virt-sandbox.c
> +++ b/bin/virt-sandbox.c
> @@ -345,7 +345,9 @@ virt-sandbox - Run cmd under a virtual machine sandbox
>  
>  =head1 SYNOPSIS
>  
> -virt-sandbox [OPTIONS...] COMMAND [CMDARG1 [CMDARG2 [...]]]
> +virt-sandbox [OPTIONS...] COMMAND
> +
> +virt-sandbox [OPTIONS...] -- COMMAND [CMDARG1 [CMDARG2 [...]]]
>  
>  =head1 DESCRIPTION
>

ACK

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list