From 3c9841fdf734c78ab3914644b11e4f19275e14e5 Mon Sep 17 00:00:00 2001 From: Emil Williams Date: Sat, 20 Jan 2024 00:16:54 +0000 Subject: [PATCH] pruned --- bake.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bake.c b/bake.c index 0eda86a..f7ad91f 100644 --- a/bake.c +++ b/bake.c @@ -28,9 +28,9 @@ #define STOP "@STOP" #define HELP \ - BOLD "target-file" RESET " [arguments ...]\n" \ - "Use the format `" BOLD "@BAKE" RESET " cmd ...' within the target-file, this will execute the\n" \ - "rest of line, or if found within the file, until the " BOLD "@STOP" RESET " marker.\n" \ + BOLD "target-file" RESET " [arguments ...]\n" \ + "Use the format `" BOLD "@BAKE" RESET " cmd ...' within the target-file, this will execute the\n" \ + "rest of line, or if found within the file, until the " BOLD "@STOP" RESET " marker.\n" \ #define DESC \ "Options [Must always be first]\n" \ @@ -281,9 +281,6 @@ main(int argc, char ** argv) { int ret = 0; char * buf = NULL; - /* changing this to "" creates many additional allocations */ - (void) setlocale(LC_ALL, "C"); - if (argc < 2 || !strcmp(argv[1], "-h") || !strcmp(argv[1], "--help"))