all repos — hex @ 1b2549ec1c2b59f92920ec146053d620aa250268

A tiny, minimalist, slightly-esoteric concatenative programming lannguage.

Fixes.
h3rald h3rald@h3rald.com
Fri, 29 Nov 2024 15:34:46 +0100
commit

1b2549ec1c2b59f92920ec146053d620aa250268

parent

e64b9576d4ab65d80c0bbc97c2edc3a527ed0cd0

1 files changed, 8 insertions(+), 7 deletions(-)

jump to
M hex.chex.c

@@ -3880,19 +3880,20 @@ {

printf(" _*_ _\n" " / \\hex\\*\n" " *\\_/_/_/ v%s - A minimalist, concatenative programming language.\n" - " * (c) 2024 Fabio Cevasco\n" - "\n" - "Usage:\n" + " * (c) 2024 Fabio Cevasco\n", + HEX_VERSION); + printf("\n" + "USAGE\n" " hex [options] [file]\n" "\n" - "Arguments:\n" + "ARGUMENTS\n" " file A .hex file to interpret\n" "\n" - "Options:\n" - " -d, --debug Enable debug mode.\n", + "OPTIONS\n" + " -d, --debug Enable debug mode.\n" " -h, --help Display this help message.\n" " -m --manual Display the manual.\n" - " -v, --version Display hex version.\n" HEX_VERSION); + " -v, --version Display hex version.\n\n"); } void hex_print_docs(hex_doc_dictionary_t *docs)