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:11 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2025-11-22 14:50:11 +0100
commit80101a458f40cc35f39e890baba1a891a83009e7 (patch)
treefe10b6cb9309bef50e7458c5c203905b43529d24 /src/tx-option.cpp
parentf6709441cfabc7240dba76be79200aadcb6c037d (diff)
parent2e314136ed58b6860c667e379bef22190fe84aa2 (diff)
Update upstream source from tag 'upstream/5.2'
Update to upstream version '5.2' with Debian dir e7bb6e760b18c46422e9b351ee95d4d043b9cfac
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;
-}