cmdline: parse parameters in GNU mode
This change sets the option parser to GNU mode, that is, allows further option parameters after non-option parameters, e.g.: dump-trace foo.tc -s instead of dump-trace -s foo.tc As Fail* currently works on GNU platforms only, this behavior is the one presumably expected from users. Change-Id: I9c55eaf4560cde81ebd0b94214201c8ad02c2b74
This commit is contained in:
@ -30,7 +30,7 @@ public:
|
||||
private:
|
||||
static CommandLine m_instance;
|
||||
|
||||
std::vector<const char *> argv;
|
||||
std::vector<const char *> argv, argv_reordered;
|
||||
std::vector<option::Descriptor> options;
|
||||
option::Option *parsed_options, *parsed_buffer;
|
||||
option::Parser *m_parser;
|
||||
|
||||
Reference in New Issue
Block a user