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

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 -- 2.8.0.rc3

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 :|

On Fri, Apr 15, 2016 at 10:00:46AM +0100, Daniel P. Berrange wrote:
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
Pushed. Thanks, -- Guido
participants (2)
-
Daniel P. Berrange
-
Guido Günther