[binutils-gdb] Fix help string of alias command

Andreas Schwab schwab@sourceware.org
Tue Oct 20 15:15:38 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e0c45dedd909c7a0a6621bdc9061051c185123bb

commit e0c45dedd909c7a0a6621bdc9061051c185123bb
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Mon Oct 19 20:55:06 2020 +0200

    Fix help string of alias command
    
    * cli/cli-cmds.c (_initialize_cli_cmds): Fix alias command help.

Diff:
---
 gdb/ChangeLog      | 4 ++++
 gdb/cli/cli-cmds.c | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4dc1e42c3b6..916342e79fc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2020-10-20  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* cli/cli-cmds.c (_initialize_cli_cmds): Fix alias command help.
+
 2020-10-19  Tom Tromey  <tromey@adacore.com>
 
 	PR tui/26719
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index 352abd0a634..e6a1a8417c3 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -2614,9 +2614,9 @@ Use \"help aliases\" to list all user defined aliases and their default args.\n\
 \n\
 Examples:\n\
 Make \"spe\" an alias of \"set print elements\":\n\
-  alias spe set print elements\n\
+  alias spe = set print elements\n\
 Make \"elms\" an alias of \"elements\" in the \"set print\" command:\n\
-  alias -a set print elms set print elements\n\
+  alias -a set print elms = set print elements\n\
 Make \"btf\" an alias of \"backtrace -full -past-entry -past-main\" :\n\
   alias btf = backtrace -full -past-entry -past-main\n\
 Make \"wLapPeu\" an alias of 2 nested \"with\":\n\


More information about the Gdb-cvs mailing list