diff options
author | Urban Müller | 2013-07-17 18:12:59 +0000 |
---|---|---|
committer | Urban Müller | 2013-07-17 18:12:59 +0000 |
commit | 28356a5714fdcffa76b11457103a5b7b8d508348 (patch) | |
tree | 9a1671f676e68f7778754b0d35a738c1e2219a77 | |
parent | 227b28eadce232c2b5ede873a38a6342963bb467 (diff) | |
download | itools-28356a5714fdcffa76b11457103a5b7b8d508348.tar.gz itools-28356a5714fdcffa76b11457103a5b7b8d508348.tar.bz2 itools-28356a5714fdcffa76b11457103a5b7b8d508348.zip |
docs
-rw-r--r-- | it.class | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |