]> git.xolatile.top Git - emil-bake.git/commitdiff
Color for ease of reading
authorEmil Williams <emilwilliams@tuta.io>
Sun, 21 Jan 2024 13:50:21 +0000 (13:50 +0000)
committerEmil Williams <emilwilliams@tuta.io>
Sun, 21 Jan 2024 13:50:21 +0000 (13:50 +0000)
bake.c

diff --git a/bake.c b/bake.c
index f7ad91f0cac0b64f8241fcbb53e5e7d4e2b945b4..60928f0255cdf48d35215a0a9058af7532d269ff 100644 (file)
--- a/bake.c
+++ b/bake.c
@@ -27,8 +27,8 @@
 #define START "@BAKE"
 #define  STOP "@STOP"
 
-#define  HELP                                                                          \
-  BOLD "target-file" RESET " [arguments ...]\n"                                      \
+#define  HELP                                                                                         \
+  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"   \
   "rest of line, or if found within the file, until the " BOLD "@STOP" RESET " marker.\n"             \
 
@@ -38,7 +38,7 @@
   "Expansions\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 arguments\n"
+  "\t" YELLOW "$+" RESET "  returns " GREEN "arguments" RESET "\n"
 
 /*** Utility functions ***/