From: Richard Jones Date: Wed, 22 Jul 2009 12:42:51 +0000 (+0100) Subject: set-append and set-kernel parameters are both nullable. X-Git-Tag: 1.0.63~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=1a5755dbbff0fa4d87984cb7d67cb8239fd71a84;p=libguestfs.git set-append and set-kernel parameters are both nullable. (So are the return values, but leave that bug for another day). --- diff --git a/src/generator.ml b/src/generator.ml index 398fd04..f851606 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -504,7 +504,7 @@ Return the current search path. This is always non-NULL. If it wasn't set already, then this will return the default path."); - ("set_append", (RErr, [String "append"]), -1, [FishAlias "append"], + ("set_append", (RErr, [OptString "append"]), -1, [FishAlias "append"], [], "add options to kernel command line", "\ @@ -530,7 +530,7 @@ guest kernel command line. If C then no options are added."); - ("set_kernel", (RErr, [String "kernel"]), -1, [FishAlias "kernel"], + ("set_kernel", (RErr, [OptString "kernel"]), -1, [FishAlias "kernel"], [], "override the normal appliance kernel", "\