Date: Thu, 23 Apr 2015 12:37:26 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 199644] getopt_long(3) manpage has unclear example Message-ID: <bug-199644-9@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199644 Bug ID: 199644 Summary: getopt_long(3) manpage has unclear example Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Documentation Assignee: freebsd-doc@FreeBSD.org Reporter: patrick@gentoo.org Minor cosmetic detail - getopt_long(3) manpage says: (see for example https://www.freebsd.org/cgi/man.cgi?query=getopt_long&apropos=0&sektion=3&manpath=FreeBSD+11-current&arch=default&format=html ) "The last element of the longopts array has to be filled with zeroes." and the example just below is written as: "{ NULL, 0, NULL, 0 }" While this accidentally works out it is confusing to read. The manpage of GNU getopt_long shows "{ 0, 0, 0, 0 }" for this example, which matches the text a lot better. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199644-9>