1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix wc(1) argument parsing.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-02-28 22:53:18 +01:00
parent 3d64567bae
commit fba2e26b05

View file

@ -255,7 +255,7 @@ int main(int argc, char* argv[])
int flags = 0;
const char* argv0 = argv[0];
for ( int i = 0; i < argc; i++ )
for ( int i = 1; i < argc; i++ )
{
const char* arg = argv[i];
if ( arg[0] != '-' || !arg[1] )