]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
options: Fix typo in comment.
authorBruno Haible <bruno@clisp.org>
Fri, 27 Jun 2025 16:52:10 +0000 (18:52 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 27 Jun 2025 16:52:10 +0000 (18:52 +0200)
Patch by Antonio Diaz Diaz <antonio@gnu.org> in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-06/msg00300.html>.

* lib/options.h: Fix typo in comment.

ChangeLog
lib/options.h

index db316703801ce56db78d4747f3a37ac5eeae4cf6..3acaa92d0a073a41c7a8fa02e1cfc79d22c8a45b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2025-06-27  Bruno Haible  <bruno@clisp.org>
 
+       options: Fix typo in comment.
+       Patch by Antonio Diaz Diaz <antonio@gnu.org> in
+       <https://lists.gnu.org/archive/html/bug-gnulib/2025-06/msg00300.html>.
+       * 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.
index 18e590804fcc5eea948aedadb9bf6f8f0e619540..6ac33a5ac7e5ffcdc1e3c1dbbb80490a44ae310e 100644 (file)
        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