Revision: 56986
http://sourceforge.net/p/brlcad/code/56986
Author: tbrowder2
Date: 2013-08-20 13:02:55 +0000 (Tue, 20 Aug 2013)
Log Message:
-----------
setting up for auto-man-page
Modified Paths:
--------------
brlcad/trunk/src/util/yuv-pix.c
Modified: brlcad/trunk/src/util/yuv-pix.c
===================================================================
--- brlcad/trunk/src/util/yuv-pix.c 2013-08-20 11:55:36 UTC (rev 56985)
+++ brlcad/trunk/src/util/yuv-pix.c 2013-08-20 13:02:55 UTC (rev 56986)
@@ -57,16 +57,19 @@
void ab_rgb_to_yuv(unsigned char *yuv_buf, unsigned char *rgb_buf, long int
len);
void ab_yuv_to_rgb(unsigned char *rgb_buf, unsigned char *yuv_buf, long int
len);
-static char usage[] = "\
-Usage: yuv-pix [-h] [-a]\n\
- [-s squaresize] [-w file_width] [-n file_height] [file.yuv] >
file.pix\n";
+static const char usage[] =
+ "Usage: yuv-pix [-h] [-a]\n"
+ " [-s squaresize] [-w file_width] [-n file_height] [file.yuv] >
file.pix\n"
+ ;
+static const char optstring[] = "ahs:w:n:";
+
int
get_args(int argc, char **argv)
{
int c;
- while ((c = bu_getopt(argc, argv, "ahs:w:n:")) != -1) {
+ while ((c = bu_getopt(argc, argv, optstring)) != -1) {
switch (c) {
case 'a':
autosize = 1;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits