[svn-r13805]

Early detection of no arguments, print usage and exit

Tested: linux
This commit is contained in:
Pedro Vicente Nunes
2007-05-24 07:49:24 -05:00
parent b08afe35a4
commit 65de8add1f
4 changed files with 6 additions and 3 deletions

View File

@@ -50,7 +50,6 @@ void parse_input(int argc,
if ( argc<3 )
{
printf("Number of arguments is only %d\n", argc );
usage();
}