aboutsummaryrefslogtreecommitdiffstats
path: root/convert-to-replacement.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-24 14:39:44 +0100
committerMattias Andrée <m@maandree.se>2026-01-24 14:39:44 +0100
commitd554a18e5f981ae200f7f8a3e46d5da93190e897 (patch)
tree99907dc58e28160b3814a901656f2d915b32e229 /convert-to-replacement.c
parentFirst commit (diff)
downloadcharconv-d554a18e5f981ae200f7f8a3e46d5da93190e897.tar.gz
charconv-d554a18e5f981ae200f7f8a3e46d5da93190e897.tar.bz2
charconv-d554a18e5f981ae200f7f8a3e46d5da93190e897.tar.xz
Add replacement
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'convert-to-replacement.c')
-rw-r--r--convert-to-replacement.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/convert-to-replacement.c b/convert-to-replacement.c
new file mode 100644
index 0000000..6407b52
--- /dev/null
+++ b/convert-to-replacement.c
@@ -0,0 +1,18 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+USAGE("");
+
+
+int
+main(int argc, char *argv[])
+{
+ ARGBEGIN {
+ default:
+ usage();
+ } ARGEND;
+ if (argc)
+ usage();
+
+ return convert(&libcharconv_replacement);
+}