[thin_generate_metadata] Fix command line options

- Remove unused options
- Fix potential option conflict
This commit is contained in:
Ming-Hung Tsai
2020-07-23 14:36:45 +08:00
parent 8d8ee51599
commit e46fabde1a
2 changed files with 8 additions and 8 deletions

View File

@@ -141,7 +141,7 @@ thin_generate_mappings_cmd::run(int argc, char **argv)
{
int c;
struct flags fs;
const char *shortopts = "hi:o:qV";
const char *shortopts = "ho:V";
const struct option longopts[] = {
{ "help", no_argument, NULL, 'h' },
{ "output", required_argument, NULL, 'o' },