summaryrefslogtreecommitdiff
path: root/src/tx-option.cpp
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2025-11-24 06:50:20 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2025-11-24 06:50:20 +0100
commitd2c60504265dbd03a31c357724618bac70ac4ffe (patch)
treeb630969b8f5ae3690f764738b249668fcef843df /src/tx-option.cpp
parentafd606e6806b6c34b816893f6d04789d86a83fbc (diff)
parenta384d3bf0397c8237f3a78e690db6d9141e6345c (diff)
Merge branch 'release/debian/5.2-1_exp1'HEADdebian/5.2-1_exp1master
Diffstat (limited to 'src/tx-option.cpp')
-rw-r--r--src/tx-option.cpp21
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;
-}