* cli/cli-decode.c (help_cmd): Fix thinko in pre/post hook help output.
This commit is contained in:
parent
ef4cb050f6
commit
327529e927
@ -1,3 +1,7 @@
|
|||||||
|
2008-08-29 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* cli/cli-decode.c (help_cmd): Fix thinko in pre/post hook help output.
|
||||||
|
|
||||||
2008-08-29 Tom Tromey <tromey@redhat.com>
|
2008-08-29 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* maint.c (_initialize_maint_cmds): Fix typo.
|
* maint.c (_initialize_maint_cmds): Fix typo.
|
||||||
|
@ -797,12 +797,12 @@ help_cmd (char *command, struct ui_file *stream)
|
|||||||
"\nThis command has a hook (or hooks) defined:\n");
|
"\nThis command has a hook (or hooks) defined:\n");
|
||||||
|
|
||||||
if (c->hook_pre)
|
if (c->hook_pre)
|
||||||
fprintf_filtered (stream,
|
fprintf_filtered (stream,
|
||||||
"\tThis command is run after : %s (pre hook)\n",
|
"\tThis command is run before : %s (pre hook)\n",
|
||||||
c->hook_pre->name);
|
c->hook_pre->name);
|
||||||
if (c->hook_post)
|
if (c->hook_post)
|
||||||
fprintf_filtered (stream,
|
fprintf_filtered (stream,
|
||||||
"\tThis command is run before : %s (post hook)\n",
|
"\tThis command is run after : %s (post hook)\n",
|
||||||
c->hook_post->name);
|
c->hook_post->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1673,5 +1673,3 @@ cmd_func (struct cmd_list_element *cmd, char *args, int from_tty)
|
|||||||
else
|
else
|
||||||
error (_("Invalid command"));
|
error (_("Invalid command"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user