Revision: 55895
          http://sourceforge.net/p/brlcad/code/55895
Author:   carlmoore
Date:     2013-06-28 21:42:54 +0000 (Fri, 28 Jun 2013)
Log Message:
-----------
remove -h (use -S 1024 instead); implement h,? help; notice that S is a new 
option

Modified Paths:
--------------
    brlcad/trunk/src/fb/fbline.c

Modified: brlcad/trunk/src/fb/fbline.c
===================================================================
--- brlcad/trunk/src/fb/fbline.c        2013-06-28 20:52:51 UTC (rev 55894)
+++ brlcad/trunk/src/fb/fbline.c        2013-06-28 21:42:54 UTC (rev 55895)
@@ -69,8 +69,8 @@
 
 
 static char usage[] = "\
-Usage: fbline [-h -c ] [-F framebuffer]\n\
-       [-W screen_width] [-N screen_height]\n\
+Usage: fbline [-c ] [-F framebuffer]\n\
+       [-S squaresize] [-W screen_width] [-N screen_height]\n\
        [-r red] [-g green] [-b blue] x1 y1 x2 y2\n";
 
 
@@ -187,11 +187,11 @@
 
     int c;
 
-    while ((c = bu_getopt(argc, argv, "hW:w:N:n:cF:r:g:b:")) != -1) {
+    while ((c = bu_getopt(argc, argv, "S:s:W:w:N:n:cF:r:g:b:h?")) != -1) {
        switch (c) {
-           case 'h':
-               /* high-res */
-               screen_height = screen_width = 1024;
+           case 'S':
+           case 's':
+               screen_width = screen_height = atoi(bu_optarg);
                break;
            case 'W':
            case 'w':

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