This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Make first and last lines of 'command help documentation' consistent.


On 6/16/19 8:58 PM, Philippe Waroquiers wrote:
>    add_cmd ("substitute-path", class_files, set_substitute_path_command,
>             _("\
> +Add a substitution rule to rewrite source files names directories.\n\

"files names directories" reads a bit ood, seems like a plural too many
somewhere.

Maybe you're missing a possessive apostrophe, like:

Add a substitution rule to rewrite source files names' directories.


>  Usage: set substitute-path FROM TO\n\
>  Add a substitution rule replacing FROM into TO in source file names.\n\

This sentence here looks a little redundant now.

>  If a substitution rule was previously set for FROM, the old rule\n\
> @@ -1938,6 +1939,7 @@ is replaced by the new one."),
>  
>    add_cmd ("substitute-path", class_files, unset_substitute_path_command,
>             _("\
> +Delete one or all substitution rules rewriting source files names directories.\n\

Ditto.

>  Usage: unset substitute-path [FROM]\n\


-- 
Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]