From 8dd480e43b4ff1df64b836a86e55ab026af0cba5 Mon Sep 17 00:00:00 2001 From: cozis Date: Thu, 5 May 2022 19:33:59 +0200 Subject: [PATCH] cli uses c2h- as default prefix now --- .gitignore | 3 ++- cli.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index af5c3f4..890e3b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ c2html -example \ No newline at end of file +example +*.html \ No newline at end of file diff --git a/cli.c b/cli.c index 0da80af..ec5d2ec 100644 --- a/cli.c +++ b/cli.c @@ -40,6 +40,9 @@ static int fileconv(const char *input_file, const char *output_file, return -1; } + if(prefix == NULL) + prefix = "c2h-"; + /* Load the input string */ long input_size; char *input = load_file(input_file, &input_size);