Revision: 55781
          http://sourceforge.net/p/brlcad/code/55781
Author:   carlmoore
Date:     2013-06-14 17:33:37 +0000 (Fri, 14 Jun 2013)
Log Message:
-----------
insert h,? for help; old h becomes H; do NOT provide run-with-no-arguments 
help; notice prnt.c is also affected by this commit

Modified Paths:
--------------
    brlcad/trunk/src/fbed/fbed.c
    brlcad/trunk/src/fbed/prnt.c

Modified: brlcad/trunk/src/fbed/fbed.c
===================================================================
--- brlcad/trunk/src/fbed/fbed.c        2013-06-14 16:06:38 UTC (rev 55780)
+++ brlcad/trunk/src/fbed/fbed.c        2013-06-14 17:33:37 UTC (rev 55781)
@@ -1881,17 +1881,17 @@
     int c;
 
     /* Parse options. */
-    while ( (c = bu_getopt( argc, argv, "hp" )) != -1 )
+    while ( (c = bu_getopt( argc, argv, "Hph?" )) != -1 )
     {
        switch ( c )
        {
-           case 'h' :
+           case 'H' :
                cur_width = 1024;
                break;
            case 'p' :
                pad_flag = true;
                break;
-           case '?' :
+           default :
                return 0;
        }
     }

Modified: brlcad/trunk/src/fbed/prnt.c
===================================================================
--- brlcad/trunk/src/fbed/prnt.c        2013-06-14 16:06:38 UTC (rev 55780)
+++ brlcad/trunk/src/fbed/prnt.c        2013-06-14 17:33:37 UTC (rev 55781)
@@ -50,9 +50,9 @@
     "",
     "fbed (2.1)",
     "",
-    "Usage: fbed [-hp]",
+    "Usage: fbed [-Hp]",
     "",
-    "options : -h   use high resolution display",
+    "options : -H   use high resolution display",
     "          -p   open the GTCO bit pad",
     0
 };

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