From 9bda53fa423bbac52e8afe65d232e565777fa197 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:28:16 -0400 Subject: [PATCH] Grammar: inexact --- src/getopt/getopt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/getopt/getopt.c b/src/getopt/getopt.c index b7f26eb4..9f6b750c 100644 --- a/src/getopt/getopt.c +++ b/src/getopt/getopt.c @@ -668,7 +668,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only) } else if (pfound == NULL) { - /* First nonexact match found. */ + /* First inexact match found. */ pfound = p; indfound = option_index; } @@ -676,7 +676,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only) || pfound->has_arg != p->has_arg || pfound->flag != p->flag || pfound->val != p->val) - /* Second or later nonexact match found. */ + /* Second or later inexact match found. */ ambig = 1; } @@ -859,12 +859,12 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only) } else if (pfound == NULL) { - /* First nonexact match found. */ + /* First inexact match found. */ pfound = p; indfound = option_index; } else - /* Second or later nonexact match found. */ + /* Second or later inexact match found. */ ambig = 1; } if (ambig && !exact)