| 140 | } |
| 141 | |
| 142 | void CommandPatch::Options::init(cxxopts::Options& opts) { |
| 143 | opts.add_options() |
| 144 | #if SUPPORT_LIBKTX_OPTION |
| 145 | (kChangeWriter, "Change KTXwriter metadata to show this program. Only usable when making sized.") |
| 146 | #endif |
| 147 | (kOperation, "The patch operation to perform. It must be one of:" |
| 148 | "\n make-sized" |
| 149 | "\n make-unsized", |
| 150 | cxxopts::value<std::string>(), "<operation>") |
| 151 | (kVerbose, "Print a warning if the input file is not supercompressed."); |
| 152 | } |
| 153 | |
| 154 | void CommandPatch::Options::process(cxxopts::Options&, |
| 155 | cxxopts::ParseResult& args, |
no test coverage detected