Revision: 55724
          http://sourceforge.net/p/brlcad/code/55724
Author:   carlmoore
Date:     2013-06-12 16:46:14 +0000 (Wed, 12 Jun 2013)
Log Message:
-----------
minor changes to Usage; implement h,?

Modified Paths:
--------------
    brlcad/trunk/src/conv/fast4-g.c

Modified: brlcad/trunk/src/conv/fast4-g.c
===================================================================
--- brlcad/trunk/src/conv/fast4-g.c     2013-06-12 16:43:53 UTC (rev 55723)
+++ brlcad/trunk/src/conv/fast4-g.c     2013-06-12 16:46:14 UTC (rev 55724)
@@ -230,9 +230,9 @@
 
 static void
 usage() {
-    bu_log("Usage:\n\tfast4-g [-dwq] [-c component_list] [-m muves_file] [-o 
plot_file] [-b BU_DEBUG_FLAG] [-x RT_DEBUG_FLAG] fastgen4_bulk_data_file 
output.g\n");
+    bu_log("Usage: fast4-g [-dwq] [-c component_list] [-m muves_file] [-o 
plot_file] [-b BU_DEBUG_FLAG] [-x RT_DEBUG_FLAG] fastgen4_bulk_data_file 
output.g\n");
     bu_log("   d - print debugging info\n");
-    bu_log("   q - quiet mode (don't say anything except error messages\n");
+    bu_log("   q - quiet mode (don't say anything except error messages)\n");
     bu_log("   w - print warnings about creating default names\n");
     bu_log("   c - process only the listed region ids, may be a list (3001, 
4082, 5347) or a range (2314-3527)\n");
     bu_log("   m - create a MUVES input file containing CHGCOMP and CBACKING 
elements\n");
@@ -2835,7 +2835,7 @@
 
     bu_setprogname(argv[0]);
 
-    while ((c=bu_getopt(argc, argv, "qm:o:c:dwx:b:X:C:")) != -1) {
+    while ((c=bu_getopt(argc, argv, "qm:o:c:dwx:b:X:C:h?")) != -1) {
        switch (c) {
            case 'q':   /* quiet mode */
                quiet = 1;
@@ -2870,7 +2870,6 @@
                color_file = bu_optarg;
                break;
            default:
-               bu_log("Unrecognized option (%c)\n", c);
                usage();
                break;
        }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to