From 62504dda1527490cb49e56dd9840031479d258f0 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sun, 20 Sep 2026 22:25:07 +0200 Subject: docs: generate the command catalogue from the command tables Co-Authored-By: Claude Opus 5 --- scripts/check-consistency.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts/check-consistency.sh') diff --git a/scripts/check-consistency.sh b/scripts/check-consistency.sh index 600db25..3ca9b0c 100755 --- a/scripts/check-consistency.sh +++ b/scripts/check-consistency.sh @@ -70,8 +70,13 @@ fi # --- extract what the docs promise ----------------------------------------- # Only rows of tables whose header first cell is "Command" count; prose, -# argument names and other tables must not produce command names. +# argument names and other tables must not produce command names. The +# generated catalogue (gen_protocol) is skipped so every command still needs +# a hand-written table row with its result. awk ' + // { skip = 1 } + // { skip = 0; next } + skip { next } /^\|/ { n = split($0, cells, "|") cell = cells[2] -- cgit v1.3