summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2013-07-17 18:12:59 +0000
committerUrban Müller2013-07-17 18:12:59 +0000
commit28356a5714fdcffa76b11457103a5b7b8d508348 (patch)
tree9a1671f676e68f7778754b0d35a738c1e2219a77 /it.class
parent227b28eadce232c2b5ede873a38a6342963bb467 (diff)
downloaditools-28356a5714fdcffa76b11457103a5b7b8d508348.tar.gz
itools-28356a5714fdcffa76b11457103a5b7b8d508348.tar.bz2
itools-28356a5714fdcffa76b11457103a5b7b8d508348.zip
docs
Diffstat (limited to 'it.class')
-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