939f824d96
git-svn-id: svn://kolibrios.org@959 a494cfbc-eb01-0410-851d-a64ba20cac60
18 lines
199 B
C
18 lines
199 B
C
|
|
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);
|
|
|
|
}
|