[Pkg-vala-maintainers] Bug#658388: /usr/share/vala-0.12/vapi/glib-2.0.vapi incorrectly marks an OptionEntry's arg_description as non-nullable

Alexander Kurtz kurtz.alex at googlemail.com
Thu Feb 2 16:28:21 UTC 2012


Package: valac-0.12
Version: 0.12.1-2
Severity: minor

Hi,

/usr/share/vala-0.12/vapi/glib-2.0.vapi incorrectly marks an
OptionEntry's arg_description as non-nullable, although passing null
here does actually make sense, see the attached demo program which
produces this output:

	$ ./Demo --help
	Usage:
	  Demo [OPTION...] 

	Help Options:
	  -h, --help       Show help options

	Application Options:
	  -f, --foo=       some description for foo
	  -b, --bar        some description for bar

	$

Please note the missing "=" after "--bar".

Best regards

Alexander Kurtz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Demo.vala
Type: text/x-vala
Size: 446 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vala-maintainers/attachments/20120202/b6357a26/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-vala-maintainers/attachments/20120202/b6357a26/attachment.pgp>


More information about the Pkg-vala-maintainers mailing list