Lines Matching refs:alias

156   /* Turn each alias of the old command into an alias of the new
698 /* If this command was an alias, remove it from the list of
736 /* Add an alias to the list of info subcommands. */
753 /* Add an alias or abbreviation command to the list of commands. */
1244 /* We drop the alias (abbreviation) in favor of the command it
1245 is pointing to. If the alias is deprecated, though, we need to
1247 are warning about the alias, we may also warn about the command
1420 /* We are here presumably because an alias or command in *TEXT is
1425 Example for 'set endian big' which has a fictitious alias 'seb'.
1427 If alias wasn't used in *TEXT, and the command is deprecated:
1430 If alias was used, and only the alias is deprecated:
1431 "warning: 'seb' an alias for the command 'set endian big' is deprecated."
1433 If alias was used and command is deprecated (regardless of whether
1434 the alias itself is deprecated:
1439 command and/or the alias so the user is no longer bothered.
1445 struct cmd_list_element *alias = NULL;
1449 if (!lookup_cmd_composition (*text, &alias, &prefix_cmd, &cmd))
1453 if (!((alias ? (alias->flags & DEPRECATED_WARN_USER) : 0)
1460 if (alias && !(cmd->flags & CMD_DEPRECATED))
1461 printf_filtered (" '%s', an alias for the", alias->name);
1470 if (alias && (cmd->flags & CMD_DEPRECATED))
1471 printf_filtered ("' (%s) is deprecated.\n", alias->name);
1476 /* If it is only the alias that is deprecated, we want to indicate
1477 the new alias, otherwise we'll indicate the new command. */
1479 if (alias && !(cmd->flags & CMD_DEPRECATED))
1481 if (alias->replacement)
1482 printf_filtered ("Use '%s'.\n\n", alias->replacement);
1495 if (alias)
1496 alias->flags &= ~DEPRECATED_WARN_USER;
1505 If LINE refers to an alias, *alias will point to that alias.
1512 If any of *alias, *prefix_cmd, or *cmd cannot be determined or do not
1518 struct cmd_list_element **alias,
1527 *alias = NULL;
1587 /* cmd was actually an alias, we note that an alias was
1589 *alias = *cmd;