mjrk (Micha J)
- Login: mjrk
- Email: fairnmicha@gmx.de
- Registered on: 09/11/2015
- Last sign in: 09/19/2015
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
09/19/2015
-
09:58 AM Ruby Feature #11523: optparse short options will match complete options
- Modified code example `optiontest.rb`
~~~
require 'optparse'
require 'pp'
class OptparseExample
def self.parse(args)
options = {}
opt_parser = OptionParser.new do |opts|
opts.on("-F", "--irs [OCTAL]", Option...
09/11/2015
-
04:03 PM Ruby Feature #11523 (Closed): optparse short options will match complete options
- In short, if I define an option like `"-F", "--irs [OCTAL]"`, `-i` will match this option, although the short version is defined as `-F`.
----
In long, this can be quite troublesome:
See the provided example
http://ruby-doc.o...