diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-08-20 12:42:53 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-08-20 12:42:53 +0200 |
| commit | adc3a29cdcb0fe2aeb69a0fea44158806a6a6c7f (patch) | |
| tree | 1c7528df0738afe8cdf571fdc5d76ff0aa393b70 | |
| parent | fcd5239adc468b58a130356be79e6e741689e6b0 (diff) | |
Fix link and comments in example program
The mentioned link to fltk.general was incorrect; fixed and added
thread title for further reference.
Fixed typo and adjusted comments.
| -rw-r--r-- | examples/howto-parse-args.cxx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/examples/howto-parse-args.cxx b/examples/howto-parse-args.cxx index a95e2a66f..393344128 100644 --- a/examples/howto-parse-args.cxx +++ b/examples/howto-parse-args.cxx @@ -1,15 +1,17 @@ // -// How to parse command line arguments - Duncan Gibson 2010-10-23 -// First posted in https://www.fltk.org/newsgroups.php?gfltk.general+v:31449 +// How to parse command line arguments - Duncan Gibson 2010-10-23 // -// Shows how to decode additional command line arguments using Fl::args() -// on top of the "standard" options used by the toolkit itself. +// First posted in https://www.fltk.org/newsgroups.php?gfltk.general+v:22493 +// in thread "fltk-1.x : parsing command line arguments" // -// Note that this only handles "option separateValue" rather than the -// usual *nix idiom of "option=value", and provides no validation nor -// conversion of the paramter string into ints or floats. +// Shows how to decode additional command line arguments using Fl::args() +// on top of the "standard" options used by the toolkit itself. // -// Copyright 1998-2010 by Bill Spitzak and others. +// Note that this only handles "option separateValue" rather than the +// usual *nix idiom of "option=value", and provides no validation nor +// conversion of the parameter string into ints or floats. +// +// Copyright 1998-2020 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this |
