diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-11-22 14:50:27 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-11-22 14:50:27 +0100 |
| commit | 811c5336e00e3357afeb0909a4d182d0c3bb6ad4 (patch) | |
| tree | fe10b6cb9309bef50e7458c5c203905b43529d24 /src/tx-option.cpp | |
| parent | 62ac2dd91f81d8584d5ab585639dfe29eefc3e20 (diff) | |
| parent | 80101a458f40cc35f39e890baba1a891a83009e7 (diff) | |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/tx-option.cpp')
| -rw-r--r-- | src/tx-option.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/tx-option.cpp b/src/tx-option.cpp deleted file mode 100644 index 248ab7c..0000000 --- a/src/tx-option.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef __cplusplus -# include <stdlib.h> -#else -# include <cstdlib> -#endif -#include <libHX/option.h> - -static unsigned int g_verbose; -static const struct HXoption t[] = { - {nullptr, 'v', HXTYPE_NONE | HXOPT_INC, &g_verbose}, - HXOPT_AUTOHELP, - HXOPT_TABLEEND, -}; - -int main(int argc, char **argv) -{ - if (HX_getopt(t, &argc, &argv, HXOPT_USAGEONERR) != HXOPT_ERR_SUCCESS) - return EXIT_FAILURE; - HX_zvecfree(argv); - return EXIT_SUCCESS; -} |
