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

Guido Günther agx at sigxcpu.org
Fri Apr 15 08:45:14 UTC 2016


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




More information about the libvir-list mailing list