diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2020-10-19 20:55:06 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2020-10-20 17:14:33 +0200 |
commit | e0c45dedd909c7a0a6621bdc9061051c185123bb (patch) | |
tree | 6c7e7a9a6f5caa44045f4ba06a830fb894bc7e5e | |
parent | ae86f581c2ac33fc289eb4ac62c0539a7e9c6793 (diff) | |
download | gdb-e0c45dedd909c7a0a6621bdc9061051c185123bb.zip gdb-e0c45dedd909c7a0a6621bdc9061051c185123bb.tar.gz gdb-e0c45dedd909c7a0a6621bdc9061051c185123bb.tar.bz2 |
Fix help string of alias command
* cli/cli-cmds.c (_initialize_cli_cmds): Fix alias command help.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/cli/cli-cmds.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4dc1e42..916342e 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 352abd0..e6a1a84 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\ |