0a3c951b56
git-svn-id: svn://kolibrios.org@6822 a494cfbc-eb01-0410-851d-a64ba20cac60
21 lines
239 B
C
21 lines
239 B
C
|
|
int cmd_alias(char arg[])
|
|
{
|
|
|
|
int result;
|
|
|
|
if (NULL == arg || '\0' == arg[0])
|
|
{
|
|
alias_list();
|
|
return TRUE;
|
|
}
|
|
|
|
result = alias_check(arg);
|
|
|
|
if ( ( 0 != result ) && ( -1 != result ) )
|
|
alias_add(arg);
|
|
|
|
return TRUE;
|
|
}
|
|
|