mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 23:56:49 +03:00
3256dedea8
git-svn-id: svn://kolibrios.org@1665 a494cfbc-eb01-0410-851d-a64ba20cac60
20 lines
219 B
C
20 lines
219 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;
|
|
}
|