Revision: 55962
http://sourceforge.net/p/brlcad/code/55962
Author: carlmoore
Date: 2013-07-05 17:54:39 +0000 (Fri, 05 Jul 2013)
Log Message:
-----------
implement h,? for help; remove old h in favor of s 1024; note s,w,n options in
Usage statement
Modified Paths:
--------------
brlcad/trunk/src/fbserv/fbserv.c
Modified: brlcad/trunk/src/fbserv/fbserv.c
===================================================================
--- brlcad/trunk/src/fbserv/fbserv.c 2013-07-05 13:42:06 UTC (rev 55961)
+++ brlcad/trunk/src/fbserv/fbserv.c 2013-07-05 17:54:39 UTC (rev 55962)
@@ -121,8 +121,8 @@
static char usage[] = "\
Usage: fbserv port_num\n\
(for a stand-alone daemon)\n\
- or fbserv [-v] [-h] [-S squaresize]\n\
- [-W width] [-N height] port_num frame_buffer\n\
+ or fbserv [-v] [-{sS} squaresize]\n\
+ [-{wW} width] [-{nN} height] port_num frame_buffer\n\
(for a single-frame-buffer server)\n\
";
@@ -131,15 +131,11 @@
{
int c;
- while ( (c = bu_getopt( argc, argv, "hvF:s:w:n:S:W:N:p:" )) != -1 ) {
+ while ( (c = bu_getopt( argc, argv, "vF:s:w:n:S:W:N:p:h?" )) != -1 ) {
switch ( c ) {
case 'v':
verbose = 1;
break;
- case 'h':
- /* high-res */
- height = width = 1024;
- break;
case 'F':
framebuffer = bu_optarg;
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