Fixed issue with lang being ambiguous
This commit is contained in:
parent
3d162ae5ed
commit
27ab8dc6da
|
@ -12,7 +12,7 @@ int main(int argc, char** argv) {
|
|||
parser.add_help_option(true);
|
||||
parser.version("%prog 1.0");
|
||||
parser.add_option("-d", "--outputdir").dest("outputdir").help("Output the generated files to this directory\n[default: .]").metavar("<directory>").set_default(".");
|
||||
parser.add_option("-l", "--lang", "--language").dest("language").help("The programming language to generate source files for\n[default: c++]").metavar("<language>").set_default("c++");
|
||||
parser.add_option("-l", "--language").dest("language").help("The programming language to generate source files for\n[default: c++]").metavar("<language>").set_default("c++");
|
||||
parser.add_option("-n", "--name").dest("lexername").help("Use this name for the generated lexer, the default is based on the input file name").metavar("<lexername>");
|
||||
|
||||
optparse::Values options = parser.parse_args(argc, argv);
|
||||
|
|
Loading…
Reference in New Issue