- 
                Notifications
    
You must be signed in to change notification settings  - Fork 483
 
Closed
Description
i want to have a command line as:
exe -g -- filename1 filename2
So I tried
 exe -g -- filename1
class Opts a
  [Option('g')]
  bool Generate {get; set;}
  [Value(0)]
  string Filename {get; set;}
}
var p = new Parser(settings => settings.EnableDashDash = true);
p.ParseArguments<Opts>(args);
I get the error:
ERROR(S):
Error setting value to option 'unknownarguments': Property set method not
found.
So what's the correct way of doing this in 2.x?
Metadata
Metadata
Assignees
Labels
No labels