[Pkg-libvirt-commits] [libvirt-sandbox] 02/03: virt-sandbox: document how to pass arguments to commands

Guido Guenther agx at moszumanska.debian.org
Fri Apr 15 16:40:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

agx pushed a commit to annotated tag debian/0.5.1+git20151113-3
in repository libvirt-sandbox.

commit c93bd094fb15e9756c1bd369b887568f614d9c46
Author: Guido Günther <agx at sigxcpu.org>
Date:   Fri Apr 15 18:09:33 2016 +0200

    virt-sandbox: document how to pass arguments to commands
---
 debian/patches/series                              |  1 +
 ...ocument-how-to-pass-arguments-to-commands.patch | 25 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index e3544f3..df54a4a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ Silence-PyGIWarnings.patch
 tests-add-file-extension-for-host-mounts.patch
 sandbox-builder-Always-stop-in-case-of-failure-to-list-di.patch
 Allow-to-switch-to-a-specific-user-id.patch
+virt-sandbox-document-how-to-pass-arguments-to-commands.patch
diff --git a/debian/patches/virt-sandbox-document-how-to-pass-arguments-to-commands.patch b/debian/patches/virt-sandbox-document-how-to-pass-arguments-to-commands.patch
new file mode 100644
index 0000000..ba49cd2
--- /dev/null
+++ b/debian/patches/virt-sandbox-document-how-to-pass-arguments-to-commands.patch
@@ -0,0 +1,25 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Fri, 15 Apr 2016 10:44:11 +0200
+Subject: 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
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt-sandbox.git



More information about the Pkg-libvirt-commits mailing list