Remove redondant argument numbers check
[eda-utils.git] / bomgen / bomgen.php
index 4ee08ee..1108cf1 100755 (executable)
@@ -66,12 +66,6 @@ function usage()
   echo "          pcad or altium\n";
 }
 
-if ($argc < 2) {
-  echo "Missing source filename\n";
-  usage();
-  exit(1);
-}
-
 $cg = new Console_Getopt();
 
 /* Read the command line. */