2a7660964a
git-svn-id: svn://kolibrios.org@3268 a494cfbc-eb01-0410-851d-a64ba20cac60
21 lines
221 B
C
21 lines
221 B
C
|
|
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;
|
|
}
|
|
|