summaryrefslogtreecommitdiff
path: root/examples/howto-parse-args.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/howto-parse-args.cxx')
-rw-r--r--examples/howto-parse-args.cxx16
1 files changed, 5 insertions, 11 deletions
diff --git a/examples/howto-parse-args.cxx b/examples/howto-parse-args.cxx
index 19230cf9f..a95e2a66f 100644
--- a/examples/howto-parse-args.cxx
+++ b/examples/howto-parse-args.cxx
@@ -1,8 +1,6 @@
//
-// "$Id$"
-//
// How to parse command line arguments - Duncan Gibson 2010-10-23
-// First posted in http://www.fltk.org/newsgroups.php?gfltk.general+v:31449
+// First posted in https://www.fltk.org/newsgroups.php?gfltk.general+v:31449
//
// Shows how to decode additional command line arguments using Fl::args()
// on top of the "standard" options used by the toolkit itself.
@@ -17,11 +15,11 @@
// the file "COPYING" which should have been included with this file. If this
// file is missing or damaged, see the license at:
//
-// http://www.fltk.org/COPYING.php
+// https://www.fltk.org/COPYING.php
//
-// Please report all bugs and problems on the following page:
+// Please see the following page on how to report bugs and issues:
//
-// http://www.fltk.org/str.php
+// https://www.fltk.org/bugs.php
//
#include <stdio.h>
#include <string.h>
@@ -37,7 +35,7 @@ char *optionString = 0;
* If there is a match, 'i' must be incremented by 2 or 1 as appropriate.
* If there is no match, Fl::args() will then call Fl::arg() as fallback
* to try to match the "standard" FLTK parameters.
- *
+ *
* Returns 2 if argv[i] matches with required parameter in argv[i+1],
* returns 1 if argv[i] matches on its own,
* returns 0 if argv[i] does not match.
@@ -87,7 +85,3 @@ int main(int argc, char** argv)
mainWin->show(argc, argv);
return Fl::run();
}
-
-//
-// End of "$Id$".
-//