The ruby run files specify command-line options like this: o('hello', 'itsme')
The latest change in fig makes the specification above expand to --hello itsme. The options with the -- prefix will expand to all possible matching option names. (See the actual behavior in OptionsParser.java of fig). So this would set all values of any option whose name begins with hello, I think.
This pull request makes it so that the specification expands to -hello itsme. This will select a single option that match the name hello the most (or throw an error if the option is ambiguous).
Addresses #213
o('hello', 'itsme')
--hello itsme
. The options with the--
prefix will expand to all possible matching option names. (See the actual behavior inOptionsParser.java
of fig). So this would set all values of any option whose name begins withhello
, I think.-hello itsme
. This will select a single option that match the namehello
the most (or throw an error if the option is ambiguous).