Module | Spruz::GO |
In: |
lib/spruz/go.rb
|
Parses the argument array args, according to the pattern s, to retrieve the single character command line options from it. If s is ‘xy:’ an option ’-x’ without an option argument is searched, and an option ’-y foo’ with an option argument (‘foo’).
An option hash is returned with all found options set to true or the found option argument.