Lines Matching defs:alias
537 struct cmd_list_element *alias = NULL;
549 if (!lookup_cmd_composition (text, &alias, &prefix_cmd, &cmd))
576 /* If they used an alias, we only want to deprecate the alias.
581 if (alias)
584 if (alias->flags & MALLOCED_REPLACEMENT)
585 xfree (alias->replacement);
588 alias->flags |= (DEPRECATED_WARN_USER | CMD_DEPRECATED);
590 alias->flags &= ~(DEPRECATED_WARN_USER | CMD_DEPRECATED);
591 alias->replacement = replacement;
592 alias->flags |= MALLOCED_REPLACEMENT;