From: Hugo Villeneuve Date: Wed, 22 Jan 2014 18:24:39 +0000 (-0500) Subject: Remove redondant argument numbers check X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=27bf0d1644f7a13fab9e9e12d65bda9498b5d00c;p=eda-utils.git Remove redondant argument numbers check --- diff --git a/bomgen/bomgen.php b/bomgen/bomgen.php index 4ee08ee..1108cf1 100755 --- a/bomgen/bomgen.php +++ b/bomgen/bomgen.php @@ -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. */