|
|
|
|
|
|
|
|
"the version to add to the compiled theme"); |
|
|
"the version to add to the compiled theme"); |
|
|
options.addOption("f", "theme-folder", true, |
|
|
options.addOption("f", "theme-folder", true, |
|
|
"the folder containing the theme"); |
|
|
"the folder containing the theme"); |
|
|
options.addOption("s", "sprites", true, "use smartsprites"); |
|
|
|
|
|
|
|
|
options.addOption("s", "sprites", false, "use smartsprites"); |
|
|
CommandLineParser parser = new PosixParser(); |
|
|
CommandLineParser parser = new PosixParser(); |
|
|
CommandLine params = parser.parse(options, args); |
|
|
CommandLine params = parser.parse(options, args); |
|
|
if (!params.hasOption("theme") || !params.hasOption("theme-folder")) { |
|
|
if (!params.hasOption("theme") || !params.hasOption("theme-folder")) { |