[Pkg-libvirt-commits] [libguestfs] 216/384: customize: handle Arg.Set parameters in commands file

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 16:57:17 UTC 2015


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

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 282a13167779c74feac6ad4bb69fbdbd3449a4ae
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Tue Jan 27 18:35:58 2015 +0100

    customize: handle Arg.Set parameters in commands file
    
    When reading commands from a file, handle also Arg.Set parameters, so
    they can be enabled as well.
---
 generator/customize.ml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/generator/customize.ml b/generator/customize.ml
index 2ba2ae7..c041f82 100644
--- a/generator/customize.ml
+++ b/generator/customize.ml
@@ -683,6 +683,7 @@ pr "    ] in
           (match spec with
           | Arg.Unit fn -> fn ()
           | Arg.String fn -> fn arg
+          | Arg.Set varref -> varref := true
           | _ -> error \"INTERNAL error: spec not handled for %%s\" cmd
           )
         with Not_found ->

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



More information about the Pkg-libvirt-commits mailing list