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:
Michael Gernoth 2004-02-19 22:36:03 +00:00
parent b540405e17
commit 5fc08fe567

View File

@ -463,7 +463,7 @@ main(int argc, char *argv[])
}
}
if (argc - optind < 1)
if (argc - optind != 1)
{
usage(argv[0]);
return 1;