[RFA,08/12] Update help text in disasm.c

Message ID 20180430143731.30007-9-tom@tromey.com
State New
Headers show
Series
  • Small help text tweaks
Related show

Commit Message

Tom Tromey April 30, 2018, 2:37 p.m.
This changes some help text in disasm.c to follow the GNU style.

2018-04-29  Tom Tromey  <tom@tromey.com>

	* disasm.c (_initialize_disasm): Update help text.
---
 gdb/ChangeLog | 4 ++++
 gdb/disasm.c  | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

-- 
2.13.6

Comments

Pedro Alves May 4, 2018, 6:53 p.m. | #1
On 04/30/2018 03:37 PM, Tom Tromey wrote:
> This changes some help text in disasm.c to follow the GNU style.

> 

> 2018-04-29  Tom Tromey  <tom@tromey.com>

> 

> 	* disasm.c (_initialize_disasm): Update help text.


OK.

Thanks,
Pedro Alves

Patch

diff --git a/gdb/disasm.c b/gdb/disasm.c
index 833341a169..e465388204 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -1036,7 +1036,7 @@  _initialize_disasm (void)
   cmd = add_setshow_string_noescape_cmd ("disassembler-options", no_class,
 					 &prospective_options, _("\
 Set the disassembler options.\n\
-Usage: set disassembler-options <option>[,<option>...]\n\n\
+Usage: set disassembler-options OPTION [,OPTION]...\n\n\
 See: 'show disassembler-options' for valid option values.\n"), _("\
 Show the disassembler options."), NULL,
 					 set_disassembler_options_sfunc,