You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
327 B
12 lines
327 B
#include "args.h"
|
|
|
|
#include <stdexcept>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main(int argc, char **argv) try {
|
|
auto output = cmkr::args::handle_args(argc, argv);
|
|
return fprintf(stdout, "%s\n", output) < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
|
|
} catch (const std::exception &e) {
|
|
fprintf(stderr, "%s\n", e.what());
|
|
} |