You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Positional parameters with index/arity ranges may make some input ambiguous. In the below example, the argument at index 1 could be either a port or a file.
This currently gives picocli.CommandLine$ParameterException: Could not convert 'file1' to int[] for parameter[-1]. (Picocli tries to match options in declared order.)
This requires parsing Strings args which may apply until we encounter one that cannot be converted to the target type.
The text was updated successfully, but these errors were encountered:
remkop
changed the title
Support variable arity in positional arguments
Smart conflict resolution when two parameters with variable arity vy to consume a positional arguments
Apr 25, 2017
remkop
changed the title
Smart conflict resolution when two parameters with variable arity vy to consume a positional arguments
Smart conflict resolution when two parameters with variable arity vy to consume a positional argument
Apr 25, 2017
remkop
changed the title
Smart conflict resolution when two parameters with variable arity vy to consume a positional argument
Smart conflict resolution when two parameters with variable arity compete to consume a positional argument
Apr 25, 2017
Positional parameters with index/arity ranges may make some input ambiguous. In the below example, the argument at index 1 could be either a port or a file.
Example:
This currently gives
picocli.CommandLine$ParameterException: Could not convert 'file1' to int[] for parameter[-1]
. (Picocli tries to match options in declared order.)This requires parsing Strings args which may apply until we encounter one that cannot be converted to the target type.
The text was updated successfully, but these errors were encountered: