Re: [PATCH] gdb/thread: fine-tune 'info threads' help text

Eli Zaretskii via Gdb-patches
2020-10-19T16:04:27Z

> Date: Mon, 19 Oct 2020 17:32:38 +0200
> From: Tankut Baris Aktemur via Gdb-patches <gdb-patches@sourceware.org>
>
> diff --git a/gdb/thread.c b/gdb/thread.c
> index d4994005449..d83244383d3 100644
> --- a/gdb/thread.c
> +++ b/gdb/thread.c
> @@ -2183,11 +2183,11 @@ _initialize_thread ()
> = gdb::option::build_help (_("\
> Display currently known threads.\n\
> Usage: info threads [OPTION]... [ID]...\n\
> +If ID is given, it is a space-separated list of IDs of threads to display.\n\
> +Otherwise, all threads are displayed.\n\
> \n\
> Options:\n\
> -%OPTIONS%\
> -If ID is given, it is a space-separated list of IDs of threads to display.\n\
> -Otherwise, all threads are displayed."),
> +%OPTIONS%"),
> info_threads_opts);
>
> c = add_info ("threads", info_threads_command, info_threads_help.c_str ());

LGTM, thanks.