diff -r 4151f6f4c3e1 -r 960cc1bb6b4a tool/main.cpp --- a/tool/main.cpp Tue Oct 09 09:52:50 2012 +0200 +++ b/tool/main.cpp Wed Oct 24 18:21:52 2012 +0200 @@ -85,6 +85,7 @@ bool force = false; bool helpRequested = false; string outputFile; +string skin; /*****************************************************************************/ @@ -147,6 +148,7 @@ {"domain", required_argument, NULL, 'd'}, {"type", required_argument, NULL, 't'}, {"output-file", required_argument, NULL, 'o'}, + {"skin", required_argument, NULL, 's'}, {"force", no_argument, NULL, 'f'}, {"quiet", no_argument, NULL, 'q'}, {"verbose", no_argument, NULL, 'v'}, @@ -155,7 +157,7 @@ }; do { - c = getopt_long(argc, argv, "m:a:p:d:t:o:fqvh", longOptions, NULL); + c = getopt_long(argc, argv, "m:a:p:d:t:o:s:fqvh", longOptions, NULL); switch (c) { case 'm': @@ -182,6 +184,10 @@ outputFile = optarg; break; + case 's': + skin = optarg; + break; + case 'f': force = true; break; @@ -308,6 +314,7 @@ cmd->setDomains(domains); cmd->setDataType(dataTypeStr); cmd->setOutputFile(outputFile); + cmd->setSkin(skin); cmd->setForce(force); cmd->execute(commandArgs); } catch (InvalidUsageException &e) {