[RFA,07/12] Update help text for "jump" command

Message ID 20180430143731.30007-8-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 updates the usage text for the "jump" command to conform to the
GNU style.

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

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

-- 
2.13.6

Comments

Pedro Alves May 4, 2018, 6:52 p.m. | #1
On 04/30/2018 03:37 PM, Tom Tromey wrote:
> This updates the usage text for the "jump" command to conform to the

> GNU style.

> 

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

> 

> 	* infcmd.c (_initialize_infcmd): Update help text.


OK.

Thanks,
Pedro Alves

Patch

diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 21772b6cff..86e5ef426b 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -3445,7 +3445,7 @@  Execution will also stop upon exit from the current stack frame."));
 
   c = add_com ("jump", class_run, jump_command, _("\
 Continue program being debugged at specified line or address.\n\
-Usage: jump <location>\n\
+Usage: jump LOCATION\n\
 Give as argument either LINENUM or *ADDR, where ADDR is an expression\n\
 for an address to start at."));
   set_cmd_completer (c, location_completer);