diff options
Diffstat (limited to 'src/tx-option.cpp')
-rw-r--r-- | src/tx-option.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tx-option.cpp b/src/tx-option.cpp new file mode 100644 index 0000000..55e3566 --- /dev/null +++ b/src/tx-option.cpp @@ -0,0 +1,17 @@ +#ifndef __cplusplus +# include <stdlib.h> +#else +# include <cstdlib> +#endif +#include <libHX/option.h> + +static const struct HXoption t[] = { + HXOPT_AUTOHELP, + HXOPT_TABLEEND, +}; + +int main(int argc, const char **argv) +{ + HX_getopt(t, &argc, &argv, HXOPT_USAGEONERR); + return EXIT_SUCCESS; +} |