From 816fbbbd5df22d732ab649fa9e264b7b6a27227a Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 8 Nov 2017 02:53:27 +0100 Subject: [PATCH] Fix bad grammar "allows ". In standard English, the verb "allows" can never take an infinitive as its direct object. --- lopsub-suite.5.m4 | 4 ++-- lopsub.h.m4 | 5 ++--- lopsubex.suite | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lopsub-suite.5.m4 b/lopsub-suite.5.m4 index d453c9c..ff81198 100644 --- a/lopsub-suite.5.m4 +++ b/lopsub-suite.5.m4 @@ -333,8 +333,8 @@ The syntax for the array of values is For each option for which the .B values directive was specified, the lopsubgen command generates a C -enumeration which contains the given identifiers. This allows to -refer to each possible value through a numeric constant. +enumeration which contains the given identifiers. This allows +referring to each possible value through a numeric constant. .TP .B default_val This directive makes only sense for options which take an argument. For diff --git a/lopsub.h.m4 b/lopsub.h.m4 index 20d3a69..36faa08 100644 --- a/lopsub.h.m4 +++ b/lopsub.h.m4 @@ -275,9 +275,8 @@ DECLARE_FUNCTION( « Some applications need to store further information for each subcommand, for example a function pointer which refers to the implementation of - the subcommand. The optional user data feature allows to define one - application defined pointer that can be retrieved by calling this - function. + the subcommand. The optional user data feature allows the application + to define a pointer that can be retrieved by calling this function. Of course storing one function pointer per command could simply be done by defining a suitable array in the application which contains diff --git a/lopsubex.suite b/lopsubex.suite index 98c5649..f90981c 100644 --- a/lopsubex.suite +++ b/lopsubex.suite @@ -269,7 +269,7 @@ caption = lopsubex subcommands [subcommand aux_info] purpose = stash additional per-command information into a suite file [description] - The aux_info feature of lopsub allows to add additional information + The aux_info feature of lopsub allows adding of additional information to the subcommands of a suite without the need to maintain another per-command array, which would be error-prone. -- 2.39.5