Revision: 54328 http://brlcad.svn.sourceforge.net/brlcad/?rev=54328&view=rev Author: carlmoore Date: 2013-02-06 22:31:07 +0000 (Wed, 06 Feb 2013) Log Message: ----------- add a Usage: statement when an illegal option is detected
Modified Paths: -------------- brlcad/trunk/src/shapes/coil.c Modified: brlcad/trunk/src/shapes/coil.c =================================================================== --- brlcad/trunk/src/shapes/coil.c 2013-02-06 22:21:32 UTC (rev 54327) +++ brlcad/trunk/src/shapes/coil.c 2013-02-06 22:31:07 UTC (rev 54328) @@ -382,6 +382,9 @@ break; default: bu_log("%s: illegal option -- %c\n", bu_getprogname(), c); + bu_log("Usage: coil [-d mean_outer_diameter] [-w wire_diameter] [-h helix_angle] [-p pitch]\n"); + bu_log(" [-n number_of_turns] [-s start_cap_type] [-e end_cap_type]\n"); + bu_log(" [-S coil_data_structure] [-l overall_length] [-L]\n"); bu_exit(EXIT_SUCCESS, NULL); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits