From: Mark Wooding Date: Mon, 17 Jun 2024 10:24:12 +0000 (+0100) Subject: *.c: Remove trailing colons from option group headers. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/runlisp/commitdiff_plain/443ad1077d874f1ac8244d4139dfb1813f4952a9 *.c: Remove trailing colons from option group headers. This matches my style in actual Lisp programs, at least. --- diff --git a/dump-runlisp-image.c b/dump-runlisp-image.c index 9ed578d..72ce97d 100644 --- a/dump-runlisp-image.c +++ b/dump-runlisp-image.c @@ -1347,20 +1347,20 @@ static void help(FILE *fp) { version(fp); fputc('\n', fp); usage(fp); fputs("\n\ -Help options:\n\ +Help options\n\ -h, --help Show this help text and exit successfully.\n\ -V, --version Show version number and exit successfully.\n\ \n\ -Diagnostics:\n\ +Diagnostics\n\ -n, --dry-run Don't run run anything (useful with `-v').\n\ -q, --quiet Don't print warning messages.\n\ -v, --verbose Print informational messages (repeatable).\n\ \n\ -Configuration:\n\ +Configuration\n\ -c, --config-file=CONF Read configuration from CONF (repeatable).\n\ -o, --set-option=[SECT:]VAR=VAL Set configuration variable (repeatable).\n\ \n\ -Image dumping:\n\ +Image dumping\n\ -O, --output=FILE|DIR Store image(s) in FILE or DIR.\n\ -R, --remove-other Delete image files for other Lisp systems.\n\ -U, --remove-unknown Delete unrecognized files in image dir.\n\ diff --git a/query-runlisp-config.c b/query-runlisp-config.c index 7335a81..7df141f 100644 --- a/query-runlisp-config.c +++ b/query-runlisp-config.c @@ -114,19 +114,19 @@ static void help(FILE *fp) { version(fp); fputc('\n', fp); usage(fp); fputs("\n\ -Help options:\n\ +Help options\n\ -h, --help Show this help text and exit successfully.\n\ -V, --version Show version number and exit successfully.\n\ \n\ -Diagnostics:\n\ +Diagnostics\n\ -q, --quiet Don't print warning messages.\n\ -v, --verbose Print informational messages (repeatable).\n\ \n\ -Configuration:\n\ +Configuration\n\ -c, --config-file=CONF Read configuration from CONF (repeatable).\n\ -o, --set-option=[SECT:]VAR=VAL Set configuration variable (repeatable).\n\ \n\ -Output:\n\ +Output\n\ -L, --list-sections List all known section names in order.\n\ -M, --machine-readable Don't print headers or labels.\n\ -l, --list-variables=SECTION List all defined variables in SECTION.\n\ diff --git a/runlisp.c b/runlisp.c index 2573b82..bdb71af 100644 --- a/runlisp.c +++ b/runlisp.c @@ -210,25 +210,25 @@ static void help(FILE *fp) { version(fp); fputc('\n', fp); usage(fp); fputs("\n\ -Help options:\n\ +Help options\n\ -h, --help Show this help text and exit successfully.\n\ -V, --version Show version number and exit successfully.\n\ \n\ -Diagnostics:\n\ +Diagnostics\n\ -n, --dry-run Don't run run anything (useful with `-v').\n\ -q, --quiet Don't print warning messages.\n\ -v, --verbose Print informational messages (repeatable).\n\ \n\ -Configuration:\n\ +Configuration\n\ -E, --command-line-only Don't read embedded options from script.\n\ -c, --config-file=CONF Read configuration from CONF (repeatable).\n\ -o, --set-option=[SECT:]VAR=VAL Set configuration variable (repeatable).\n\ \n\ -Lisp implementation selection:\n\ +Lisp implementation selection\n\ -D, --vanilla-image Run vanilla Lisp images, not custom ones.\n\ -L, --accept-lisp=SYS,SYS,... Only use the listed Lisp systems.\n\ \n\ -Evaluation mode:\n\ +Evaluation mode\n\ -d, --dump-expression=EXPR Print (`prin1') EXPR (repeatable).\n\ -e, --evaluate-expression=EXPR Evaluate EXPR for effect (repeatable).\n\ -l, --load-file=FILE Load FILE (repeatable).\n\