From e0c45dedd909c7a0a6621bdc9061051c185123bb Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 19 Oct 2020 20:55:06 +0200 Subject: [PATCH] Fix help string of alias command * cli/cli-cmds.c (_initialize_cli_cmds): Fix alias command help. --- 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 + + * cli/cli-cmds.c (_initialize_cli_cmds): Fix alias command help. + 2020-10-19 Tom Tromey 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\ -- 2.30.2