Added support for ignoring '-g' per GNU ls, thanks to David Vrabel
<dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option to exist. -Erik
This commit is contained in:
@@ -568,6 +568,8 @@ extern int ls_main(int argc, char **argv)
|
||||
opts |= DISP_RECURSIVE;
|
||||
break;
|
||||
#endif
|
||||
case 'g': /* ignore -- for ftp servers */
|
||||
break;
|
||||
default:
|
||||
goto print_usage_message;
|
||||
}
|
||||
|
Reference in New Issue
Block a user