command-line parsing fix by Diego Torres Milano <diego@in3.com.ar>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@609 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
b540405e17
commit
5fc08fe567
@ -463,7 +463,7 @@ main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
if (argc - optind < 1)
|
||||
if (argc - optind != 1)
|
||||
{
|
||||
usage(argv[0]);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user