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:
> @@ -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);
>  }

Thanks,
Pedro Alves


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