* [PATCH] Fix help string of alias command
@ 2020-10-19 19:08 Andreas Schwab
2020-10-20 15:09 ` Simon Marchi
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2020-10-19 19:08 UTC (permalink / raw)
To: gdb-patches
* cli/cli-cmds.c (_initialize_cli_cmds): Fix alias command help.
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index 352abd0a63..e6a1a8417c 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.28.0
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix help string of alias command
2020-10-19 19:08 [PATCH] Fix help string of alias command Andreas Schwab
@ 2020-10-20 15:09 ` Simon Marchi
0 siblings, 0 replies; 2+ messages in thread
From: Simon Marchi @ 2020-10-20 15:09 UTC (permalink / raw)
To: Andreas Schwab, gdb-patches
On 2020-10-19 3:08 p.m., Andreas Schwab wrote:
> * cli/cli-cmds.c (_initialize_cli_cmds): Fix alias command help.
>
> diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
> index 352abd0a63..e6a1a8417c 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.28.0
This is OK, thanks.
Simon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-20 15:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 19:08 [PATCH] Fix help string of alias command Andreas Schwab
2020-10-20 15:09 ` Simon Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).