Obvious function doc and formatting

gdb/ChangeLog:

	* cli/cli-decode.c (help_cmd_list): Fix function doc and remove
	trailing spaces.
This commit is contained in:
Simon Marchi 2016-04-04 16:46:36 -04:00
parent 7beb7f68a0
commit 2aa08bd1f9
2 changed files with 7 additions and 2 deletions

View file

@ -1175,7 +1175,7 @@ print_help_for_command (struct cmd_list_element *c, const char *prefix,
* all sublists of LIST.
* PREFIX is the prefix to print before each command name.
* STREAM is the stream upon which the output should be written.
* CLASS should be:
* THECLASS should be:
* A non-negative class number to list only commands in that
* class.
* ALL_COMMANDS to list all commands in list.
@ -1192,7 +1192,7 @@ help_cmd_list (struct cmd_list_element *list, enum command_class theclass,
struct cmd_list_element *c;
for (c = list; c; c = c->next)
{
{
if (c->abbrev_flag == 0
&& (theclass == all_commands
|| (theclass == all_classes && c->func == NULL)