summaryrefslogtreecommitdiff
path: root/src/tx-option.cpp
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2025-11-22 14:50:10 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2025-11-22 14:50:10 +0100
commit2e314136ed58b6860c667e379bef22190fe84aa2 (patch)
tree21f897804c03c3419a0c015ace3bf9fb9c1b8e52 /src/tx-option.cpp
parent50d223b12c1319b4b9c4a5b8e34866c46996cb36 (diff)
New upstream version 5.2upstream/5.2upstream
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;
-}