[Spice-devel] [PATCH 1/3] generator, fix --help option
Christophe Fergeau
cfergeau at redhat.com
Tue Jul 10 02:01:49 PDT 2012
ACK
On Tue, Jul 10, 2012 at 09:54:04AM +0200, Peter Hatina wrote:
> Hi,
>
> I fixed copy+paste typo with help option.
>
> Peter Hatina
> EMEA ENG-Desktop Development
> Red Hat Czech, Brno
>
> ---
> generator/options.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/generator/options.cpp b/generator/options.cpp
> index 86ea867..723ca7e 100644
> --- a/generator/options.cpp
> +++ b/generator/options.cpp
> @@ -30,7 +30,7 @@ Options::Options(int argc, char **argv):
> static struct option longopts[] = {
> { "input", required_argument, NULL, 'i' },
> { "output", required_argument, NULL, 'o' },
> - { "help", required_argument, NULL, 'h' },
> + { "help", no_argument, NULL, 'h' },
> { NULL, 0, NULL, 0 }
> };
>
> --
> 1.7.10.4
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120710/1dec2313/attachment.pgp>
More information about the Spice-devel
mailing list