|
|
@ -5,8 +5,7 @@ |
|
|
|
#include "vmio.h" |
|
|
|
#include <getopt.h> |
|
|
|
|
|
|
|
static void usage(void) { |
|
|
|
// clang-format off
|
|
|
|
static ORCA_NOINLINE void usage(void) { // clang-format off
|
|
|
|
fprintf(stderr, |
|
|
|
"Usage: cli [options] infile\n\n" |
|
|
|
"Options:\n" |
|
|
@ -15,9 +14,7 @@ static void usage(void) { |
|
|
|
" Default: 1\n" |
|
|
|
" -q or --quiet Don't print the result to stdout.\n" |
|
|
|
" -h or --help Print this message and exit.\n" |
|
|
|
); |
|
|
|
// clang-format on
|
|
|
|
} |
|
|
|
);} // clang-format on
|
|
|
|
|
|
|
|
int main(int argc, char **argv) { |
|
|
|
static struct option cli_options[] = {{"help", no_argument, 0, 'h'}, |
|
|
|