[RFA,11/12] Update help text in linux-fork.c

Message ID 20180430143731.30007-12-tom@tromey.com
State New, archived
Headers

Commit Message

Tom Tromey April 30, 2018, 2:37 p.m. UTC
  This updates some help text in linux-fork.c to conform to GNU
standards.

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

	* linux-fork.c (_initialize_linux_fork): Update help text.
---
 gdb/ChangeLog    | 4 ++++
 gdb/linux-fork.c | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
  

Comments

Pedro Alves May 4, 2018, 6:56 p.m. UTC | #1
On 04/30/2018 03:37 PM, Tom Tromey wrote:
> This updates some help text in linux-fork.c to conform to GNU
> standards.
> 
> 2018-04-29  Tom Tromey  <tom@tromey.com>
> 
> 	* linux-fork.c (_initialize_linux_fork): Update help text.

OK.

Thanks,
Pedro Alves
  

Patch

diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c
index 9ffab1ff6c..a674fe167a 100644
--- a/gdb/linux-fork.c
+++ b/gdb/linux-fork.c
@@ -787,8 +787,8 @@  Fork a duplicate process (experimental)."));
      process.  */
 
   add_com ("restart", class_obscure, restart_command, _("\
-restart <n>: restore program context from a checkpoint.\n\
-Argument 'n' is checkpoint ID, as displayed by 'info checkpoints'."));
+restart N: restore program context from a checkpoint.\n\
+Argument N is checkpoint ID, as displayed by 'info checkpoints'."));
 
   /* Delete checkpoint command: kill the process and remove it from
      the fork list.  */