summaryrefslogtreecommitdiff
path: root/src/tx-option.cpp
blob: 55e3566bc1446ec6d44a389d75f1ebe7334e6742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
}