From: Bruno Haible Date: Fri, 27 Jun 2025 16:52:10 +0000 (+0200) Subject: options: Fix typo in comment. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1dfa233e0b0fa97eb4d74551545edda43b60174;p=thirdparty%2Fgnulib.git options: Fix typo in comment. Patch by Antonio Diaz Diaz in . * lib/options.h: Fix typo in comment. --- diff --git a/ChangeLog b/ChangeLog index db31670380..3acaa92d0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2025-06-27 Bruno Haible + options: Fix typo in comment. + Patch by Antonio Diaz Diaz in + . + * lib/options.h: Fix typo in comment. + options: Add tests. * tests/test-options.c: New file, based on tests/test-getopt_long.h. * tests/test-options-prog.c: New file. diff --git a/lib/options.h b/lib/options.h index 18e590804f..6ac33a5ac7 100644 --- a/lib/options.h +++ b/lib/options.h @@ -136,7 +136,7 @@ handle the option, and when the 'flag' is NULL, getopt_long returns the value of 'val', as a way to identify which option was seen. - It keeps the following properties the getopt_long() API: + It keeps the following properties of the getopt_long() API: * The programmer writes in actions directly in the main() function. That is, the actions don't go into separate callback functions