kolibrios-gitea/programs/system/shell/cmd_alias.c

18 lines
199 B
C
Raw Normal View History

void cmd_alias(char arg[])
{
int result;
if (NULL == arg)
{
alias_list();
return;
}
result = alias_check(arg);
if ( ( 0 != result ) && ( -1 != result ) )
alias_add(arg);
}