This is the mail archive of the
mailing list for the GDB project.
Re: [RFA] Make first and last lines of 'command help documentation' consistent.
- From: Pedro Alves <palves at redhat dot com>
- To: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>, gdb-patches at sourceware dot org
- Date: Thu, 11 Jul 2019 14:49:30 +0100
- Subject: Re: [RFA] Make first and last lines of 'command help documentation' consistent.
- References: <firstname.lastname@example.org>
On 6/16/19 8:58 PM, Philippe Waroquiers wrote:
> @@ -448,8 +448,8 @@ _initialize_interpreter (void)
> c = add_cmd ("interpreter-exec", class_support,
> interpreter_exec_cmd, _("\
> Execute a command in an interpreter.\n\
> -It takes two arguments:\n\
> +Usage: interpreter-exec INTERPRETER COMMAND...\n\
> The first argument is the name of the interpreter to use.\n\
> -The second argument is the command to execute."), &cmdlist);
> +The following arguments are the commands to execute."), &cmdlist);
This sentence is incorrect -- there's only one command to execute.
You meant to say that it's the command to execute and its arguments.
As it was before was also correct, IMHO.
> set_cmd_completer (c, interpreter_completer);