kolibrios/programs/system/shell/cmd/cmd_alias.c

20 lines
219 B
C
Raw Normal View History

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