summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class5
1 files changed, 3 insertions, 2 deletions
diff --git a/it.class b/it.class
index 1fb95cc..1c12ad4 100644
--- a/it.class
+++ b/it.class
@@ -651,11 +651,12 @@ static function imageconvert($p)
* Parse command line options with Usage given as template and return assoc array. Example: (like grep --help)
* Usage: myprogram.php [OPTIONS] PATTERN
* -s, --short Use short ouput
- * -f, --file=FILE Use FILE for input
+ * -f, --file=FILE Use FILE for input [foo.txt]
* -x EXTENSION Ignore EXTENSION
* Mandatory arguments from the Usage: line are returned under their (lowercased!) name.
* All non-option arguments are returned in 'args'
- * Option text must be indented; if long and short option present, value is stored in long one. Defaults in [ ] at end of line
+ * Option text must be indented; if long and short option present, value is stored in long one.
+ * For long opts with arguments, = is mandatory. Defaults in [ ] at end of line
* Options without arguments store true or false under their key
* Options -h and --help will be handled internally by printing usage and exiting
* When printing, the usage will be de-indented so the first line starts in the first column