https://gitlab.synchro.net/main/sbbs/-/commit/04a2deca39e1ef41e05a65ca
Modified Files:
exec/str_cmds.js
Log Message:
str_cmds.js: colorize ;help command syntax and align the columns
The ;help listing printed each command's syntax in one bright color, so optional, required and literal arguments looked the same. Now the
command name is bright white, the [ ] < > | punctuation normal white,
literal keywords (ALL, LIB) bright cyan, and placeholders normal cyan.
The fixed 18-column field overflowed on longer entries such as
"CHUSER [Name or Number]", misaligning their descriptions. The full
listing now sizes the column to the longest command (capped at 24).
";help OLD" prefix-matched OLDUL; an exact command-name match is now
tried before the prefix match. And "[ALL|LIB|blank]" is now "[ALL|LIB]",
as the brackets already mean optional.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)