From 51f95323ead1a3126db77298c6f15c54c4288cc1 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Thu, 6 Aug 2026 07:40:17 +0200 Subject: [PATCH] fix(cli): call matrixMessageTypes() in rooms option description The --matrix.rooms help text rendered [object Function] because the function reference was interpolated without calling it. Now it shows the actual message types (error, budget). Co-authored-by: qwen3:6 --- lib/cli/options/matrix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/options/matrix.js b/lib/cli/options/matrix.js index 06169519e8..8896c68c6e 100644 --- a/lib/cli/options/matrix.js +++ b/lib/cli/options/matrix.js @@ -25,7 +25,7 @@ export function addOptions(yargs) { .option('matrix.rooms', { describe: 'Send messages to different rooms. Current message types are [' + - matrixMessageTypes + + matrixMessageTypes() + ']. If you want to send error messages to a specific room use --matrix.rooms.error ROOM', group: 'Matrix' });