Color for ease of reading

This commit is contained in:
Emil Williams 2024-01-21 13:50:21 +00:00
parent 3c9841fdf7
commit fffee1c1e5
No known key found for this signature in database
GPG Key ID: 5432DB986FDBCF8A

6
bake.c
View File

@ -27,8 +27,8 @@
#define START "@BAKE" #define START "@BAKE"
#define STOP "@STOP" #define STOP "@STOP"
#define HELP \ #define HELP \
BOLD "target-file" RESET " [arguments ...]\n" \ BOLD "[option] target-file" RESET " [" GREEN "arguments" RESET " ...]\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" \
@ -38,7 +38,7 @@
"Expansions\n" \ "Expansions\n" \
"\t" YELLOW "$@" RESET " returns target-file (abc.x.txt)\n" \ "\t" YELLOW "$@" RESET " returns target-file (abc.x.txt)\n" \
"\t" YELLOW "$*" RESET " returns target-file without suffix (^-> abc.x)\n" \ "\t" YELLOW "$*" RESET " returns target-file without suffix (^-> abc.x)\n" \
"\t" YELLOW "$+" RESET " returns arguments\n" "\t" YELLOW "$+" RESET " returns " GREEN "arguments" RESET "\n"
/*** Utility functions ***/ /*** Utility functions ***/