{
/* If this command has subcommands and is not an alias,
traverse the subcommands. */
- if (c->subcommands != NULL && c->alias_target == nullptr)
+ if (c->subcommands != NULL && !c->is_alias ())
{
/* Recursively call ourselves on the subcommand list,
passing the right prefix in. */