MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

use cprintf for help messages and unify color tags

+2 -2
+2 -2
src/main.c
··· 289 289 if (help->count > 0) { 290 290 cprintf("<bold_red>Ant</> is a tiny JavaScript runtime and package manager (%s)\n\n", ANT_VERSION); 291 291 cprintf("<bold>Usage: ant <cyan>[...options]</cyan> <yellow>[module.js]\n</>"); 292 - printf("%s ant <command> %s[...args]%s\n\n", C_BOLD, C_CYAN, C_RESET); 292 + cprintf("<bold> ant <command> <cyan>[...args]</>\n\n"); 293 293 print_subcommands(); 294 294 printf("If no module file is specified, ant starts in REPL mode.\n\n"); 295 - printf("%sOptions:%s\n", C_BOLD, C_RESET); 295 + printf("<bold>Options:</>\n"); 296 296 printf(" %-28s %s\n", "--verbose", "enable verbose output"); 297 297 printf(" %-28s %s\n", "--no-color", "disable colored output"); 298 298 arg_print_glossary(stdout, argtable, " %-28s %s\n");