This commit is contained in:
Emil Williams 2024-01-20 00:16:54 +00:00
parent 39e27a03dd
commit 3c9841fdf7
No known key found for this signature in database
GPG Key ID: 5432DB986FDBCF8A

9
bake.c
View File

@ -28,9 +28,9 @@
#define STOP "@STOP" #define STOP "@STOP"
#define HELP \ #define HELP \
BOLD "target-file" RESET " [arguments ...]\n" \ BOLD "target-file" RESET " [arguments ...]\n" \
"Use the format `" BOLD "@BAKE" RESET " cmd ...' within the target-file, this will execute the\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" \ "rest of line, or if found within the file, until the " BOLD "@STOP" RESET " marker.\n" \
#define DESC \ #define DESC \
"Options [Must always be first]\n" \ "Options [Must always be first]\n" \
@ -281,9 +281,6 @@ main(int argc, char ** argv) {
int ret = 0; int ret = 0;
char * buf = NULL; char * buf = NULL;
/* changing this to "" creates many additional allocations */
(void) setlocale(LC_ALL, "C");
if (argc < 2 if (argc < 2
|| !strcmp(argv[1], "-h") || !strcmp(argv[1], "-h")
|| !strcmp(argv[1], "--help")) || !strcmp(argv[1], "--help"))