-struct option long_options[] = {{"radix", 1, 0, 0},
- {"format", 1, 0, 0},
- {"version", 0, &show_version, 1},
- {"target", 2, NULL, NULL},
- {"help", 0, &show_help, 1},
- {0, 0, 0, 0}};
+#define OPTION_FORMAT (200)
+#define OPTION_RADIX (OPTION_FORMAT + 1)
+#define OPTION_TARGET (OPTION_RADIX + 1)
+
+static struct option long_options[] =
+{
+ {"common", no_argument, &show_common, 1},
+ {"format", required_argument, 0, OPTION_FORMAT},
+ {"radix", required_argument, 0, OPTION_RADIX},
+ {"target", required_argument, 0, OPTION_TARGET},
+ {"totals", no_argument, &show_totals, 1},
+ {"version", no_argument, &show_version, 1},
+ {"help", no_argument, &show_help, 1},
+ {0, no_argument, 0, 0}
+};
+
+int main (int, char **);