forked from KolibriOS/kolibrios
Rustem Gimadutdinov (rgimad)
68cf3e4293
- big refactoring, now uses libc.obj - added kfetch command git-svn-id: svn://kolibrios.org@8827 a494cfbc-eb01-0410-851d-a64ba20cac60
18 lines
242 B
C
18 lines
242 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;
|
|
}
|
|
|