mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-06 15:43:09 +00:00
Replace uses of "title" style with "command"
Currently the "title" style is only used when printing command names. The "title" name itself is probably a misnomer, but meanwhile this patch changes the existing uses to instead use the new "command" style for consistency. The "title" style is not removed; see the next patch. Reviewed-By: Keith Seitz <keiths@redhat.com> Approved-By: Andrew Burgess <aburgess@redhat.com>
This commit is contained in:
@@ -1667,7 +1667,7 @@ show_user_1 (struct cmd_list_element *c, const char *prefix, const char *name,
|
||||
|
||||
gdb_printf (stream, "User %scommand \"",
|
||||
c->is_prefix () ? "prefix" : "");
|
||||
fprintf_styled (stream, title_style.style (), "%s%s",
|
||||
fprintf_styled (stream, command_style.style (), "%s%s",
|
||||
prefix, name);
|
||||
gdb_printf (stream, "\":\n");
|
||||
if (cmdlines)
|
||||
|
||||
Reference in New Issue
Block a user