Skip to content

Commit 6936fd9

Browse files
Copilotpelikhan
andauthored
Document compact help soft-width behavior
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent fa8aaea commit 6936fd9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

actions/setup/js/mcp_cli_bridge.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,9 +851,10 @@ function summarizeHelpText(value, maxLen) {
851851

852852
/**
853853
* Render names as comma-separated compact lines and keep all names visible.
854+
* Width is a soft target; the final line may exceed it to avoid dropping names.
854855
*
855856
* @param {string[]} names
856-
* @param {number} maxLines - Preferred line budget; non-positive/invalid values return one compact line
857+
* @param {number} maxLines - Preferred line budget; non-positive/invalid values force one compact line
857858
* @returns {string[]}
858859
*/
859860
function formatCompactNameLines(names, maxLines) {

0 commit comments

Comments
 (0)