Fresco/GGI/demos ggiwrapper.cc,1.14,1.15
Nick Lewycky <[email protected]>
| Newsgroups | gmane.comp.video.fresco.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/fresco/Fresco/GGI/demos
In directory purcel:/tmp/cvs-serv1093
Modified Files:
ggiwrapper.cc
Log Message:
Changed short option forms to -x and -y for --width and --height
respectively. The ggiwrapper no longer aborts on startup!
Index: ggiwrapper.cc
===================================================================
RCS file: /cvs/fresco/Fresco/GGI/demos/ggiwrapper.cc,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- ggiwrapper.cc 7 Nov 2002 18:53:11 -0000 1.14
+++ ggiwrapper.cc 8 Feb 2003 02:42:03 -0000 1.15
@@ -48,8 +48,8 @@
GetOpt getopt(argv[0], "a berlin client demonstrating the Canvas");
getopt.add('h', "help", GetOpt::novalue, "help message");
getopt.add('r', "run", GetOpt::mandatory, "the ggi program to run");
- getopt.add('w', "width", GetOpt::mandatory, "the width of the visual");
- getopt.add('h', "height", GetOpt::mandatory, "the height of the visual");
+ getopt.add('x', "width", GetOpt::mandatory, "the width of the visual");
+ getopt.add('y', "height", GetOpt::mandatory, "the height of the visual");
add_resolving_options_to_getopt(getopt);
getopt.parse(argc - 1, argv + 1);