/programs/system/shell/cmd/cmd_more.c |
---|
9,7 → 9,7 |
char temp[256]; |
unsigned flags; |
if (NULL == file) |
if (strlen(file)<1) |
{ |
#if LANG_ENG |
printf (" more <filename>\n\r"); |
25,11 → 25,7 |
if ( !file_check(temp) ) |
{ |
#if LANG_ENG |
printf (" File not found!\n\r"); |
#elif LANG_RUS |
printf (" ©« ¥ ©¤¥!\n\r"); |
#endif |
file_not_found(file); |
return FALSE; |
} |
} |
42,11 → 38,7 |
if ( !file_check(temp) ) |
{ |
#if LANG_ENG |
printf (" File not found!\n\r"); |
#elif LANG_RUS |
printf (" ©« ¥ ©¤¥!\n\r"); |
#endif |
file_not_found(file); |
return FALSE; |
} |
} |