chiark / gitweb /
*.c: Remove trailing colons from option group headers.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 17 Jun 2024 10:24:12 +0000 (11:24 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 17 Jun 2024 12:09:17 +0000 (13:09 +0100)
This matches my style in actual Lisp programs, at least.

dump-runlisp-image.c
query-runlisp-config.c
runlisp.c

index 9ed578d73861d2cd28281a7a2852aecd8646ee6f..72ce97de1ddffb0696326bbeb9b2c1a77c732615 100644 (file)
@@ -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\
index 7335a811952b20f5aa60a11cc1f2feba272e2006..7df141f9ebcc0cc17693c0bbf22d7469a6e3053f 100644 (file)
@@ -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\
index 2573b82d37f816b40eea37ac1d56d3be43697ff2..bdb71af719374e28c17d0392a050634abe4578f3 100644 (file)
--- 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\