echo " -k Create digikey BOM submission file (tab-separated fields)\n";
echo " -h Display this help and exit\n";
echo " -n [QTY] Number of cards/kits for digikey BOM submission\n";
+ echo " -p [NAME] Specify project or board name\n";
echo " -r [REV] Specify BOM revision\n";
echo " -t [TYPE] BOM input type: pcad or altium\n";
}
-$short_opts = "hci:kn:r:t:";
+$short_opts = "hci:kn:p:r:t:";
$cg = new Console_Getopt();
case 'n':
$kits = $o[1];
break;
+ case 'p':
+ $project_name = $o[1];
+ break;
case 'r':
$revision = $o[1];
break;
$row_num . ")");
}
- /* TODO... */
if (empty($project_name)) {
$project_name = "PROJECT NAME";
}