diff options
author | Richard Jones <rjones@redhat.com> | 2010-05-19 12:25:03 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-05-20 10:30:12 +0100 |
commit | e715451fae0ba738973af98a4e506b6c5564626a (patch) | |
tree | fb2787200dc5183b2cca2b98202ce5ad6b62998e /src | |
parent | 9735484c3579e4e4705cd99dd2f6617186b069cc (diff) | |
download | libguestfs-e715451fae0ba738973af98a4e506b6c5564626a.tar.gz libguestfs-e715451fae0ba738973af98a4e506b6c5564626a.tar.xz libguestfs-e715451fae0ba738973af98a4e506b6c5564626a.zip |
generator: Some String parameters should be OptString (RHBZ#501894).
I haven't checked the list of functions exhaustively, but
these are the obvious ones.
Diffstat (limited to 'src')
-rwxr-xr-x | src/generator.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generator.ml b/src/generator.ml index 32a81400..f976d815 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -575,7 +575,7 @@ The first character of C<param> string must be a C<-> (dash). C<value> can be NULL."); - ("set_qemu", (RErr, [String "qemu"]), -1, [FishAlias "qemu"], + ("set_qemu", (RErr, [OptString "qemu"]), -1, [FishAlias "qemu"], [], "set the qemu binary", "\ @@ -607,7 +607,7 @@ Return the current qemu binary. This is always non-NULL. If it wasn't set already, then this will return the default qemu binary name."); - ("set_path", (RErr, [String "searchpath"]), -1, [FishAlias "path"], + ("set_path", (RErr, [OptString "searchpath"]), -1, [FishAlias "path"], [], "set the search path", "\ |