Skip to content
Prev Previous commit
Next Next commit
Document compact help soft-width behavior
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
  • Loading branch information
Copilot and pelikhan authored Jun 9, 2026
commit 6936fd9821173bbd2710d6fa20e0a18f73eebec1
3 changes: 2 additions & 1 deletion actions/setup/js/mcp_cli_bridge.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -851,9 +851,10 @@ function summarizeHelpText(value, maxLen) {

/**
* Render names as comma-separated compact lines and keep all names visible.
* Width is a soft target; the final line may exceed it to avoid dropping names.
*
* @param {string[]} names
* @param {number} maxLines - Preferred line budget; non-positive/invalid values return one compact line
* @param {number} maxLines - Preferred line budget; non-positive/invalid values force one compact line
* @returns {string[]}
*/
function formatCompactNameLines(names, maxLines) {
Expand Down
Loading