From nobody Fri Oct 10 16:31:01 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cjsgV2YgJz6BXwd; Fri, 10 Oct 2025 16:31:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cjsgT3WvPz3ZGd; Fri, 10 Oct 2025 16:31:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760113861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rHdzMLma3arpqVqG45L+ABBSZ7zTLAghlu1GH/DWi9c=; b=nuR+XSRc+D4X7vew3snQO0d8HkhDRHJ5uxbaG7w9iSMaPxCFolMnPjo4r3XwvxeBpvUZ0G 5LpnlMk0S0dJ202qwSJzZ/OMIAh+q86WuT7FQXKj033xi7s0daP48a55BrNfWuk7g+BNcS 6unCTw+F3NrkS4CfJMGz62d3WcPgwBCO5mDuompraRxpqjpcSpG9cEwKuEY0MEVma2n7zY 4y7kBQ7RIiN1IUTYoLFVWUMnWqLHwmYBwkW4V3AagL6P7MJPED6OP4fmpiVBXAjx2R64n3 OBF+q5B7GKp8xT/hNvgG8pDLbecP9WyC65giq3hKS/5X9lJr7a6sdfTt1jsFZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760113861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rHdzMLma3arpqVqG45L+ABBSZ7zTLAghlu1GH/DWi9c=; b=EqMHd3txyL/aA12jqVs02n1g8I5rzxwqn3AdrDO1PbwunOTttTh6wh5FlSRgPfKOHaB48M WSPaIbe14i98PTkHJtPXA0/A4YJWQUMj4jt2TZQ4/62gRVAKsv3gIu+Zoqs3PHtPeNqDpY zGvdFMO3tUXqKuvX20I264oS/cH0ZrvpeFXPiDjHI2m8H0FGkJUQtSZ3I3Y1/koQvjb2hL dfyF7p+/3UrAdefQniWd52i4JyJ7DCmr++/+m5QuarAw+teDvmUh6LM7ESlHTXNcyAJXEW XO/ipATsynIwVNoUn6sOlGmo5sfWShqHBQHZ/VTm0tcfnQIjZpuufoaSkYLeOQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760113861; a=rsa-sha256; cv=none; b=pdMhpOn5zOfu92HTJz8I1e/pqoO7XQkoTQzEr/B6ztJ090oqotOqK7Q1mO4oqUqtEyXNOC l5MXSGz3juyh0KERU56oqpQO/UJq3Lfi8BDg45B6QsDwDmhR5IU38SG6iLNh0u4RzzMHs4 gltY6VGbZDRH8PF0sSkMrha1iS3Nz44XK+At7ESlrr8VJlGKT8Fw0W7zXP5wCrot3focsn WJPrMLMhknswjYtAo2UdVdzTYxkaj3SzmEI62VYwR/Hj0bMTVeaaGrnyq0asVPTtlirzov S/7aBuA77+qiSTlAaKQdRBRUgtT0M89AHNOFSIbvCFtKyTEhKsw7RBNxFoOMRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cjsgT2s3Pz19c5; Fri, 10 Oct 2025 16:31:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59AGV1WK025865; Fri, 10 Oct 2025 16:31:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59AGV1ra025861; Fri, 10 Oct 2025 16:31:01 GMT (envelope-from git) Date: Fri, 10 Oct 2025 16:31:01 GMT Message-Id: <202510101631.59AGV1ra025861@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Ziaee Subject: git: c637cd700e09 - stable/15 - cli.lua.8: Reflow literal comments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: c637cd700e09b24564ddac60021700e5e6dc44b9 Auto-Submitted: auto-generated The branch stable/15 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=c637cd700e09b24564ddac60021700e5e6dc44b9 commit c637cd700e09b24564ddac60021700e5e6dc44b9 Author: Alexander Ziaee AuthorDate: 2025-10-09 21:13:54 +0000 Commit: Alexander Ziaee CommitDate: 2025-10-10 16:15:06 +0000 cli.lua.8: Reflow literal comments Reflow comments in literal text blocks so this manual is legible at MANWIDTH 78. MFC after: 1 day (cherry picked from commit de36d0dbaeaf05e9bf949fdf22b560c34b2c0d74) --- stand/lua/cli.lua.8 | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/stand/lua/cli.lua.8 b/stand/lua/cli.lua.8 index aee1d3d53579..e47ecd3d23db 100644 --- a/stand/lua/cli.lua.8 +++ b/stand/lua/cli.lua.8 @@ -52,10 +52,11 @@ For instance: local cli = require("cli") cli.foo = function(...) - -- Expand args to command name and the rest of argv. These arguments - -- are pushed directly to the stack by loader, then handed off to - -- cli_execute. cli_execute then passes them on to the invoked - -- function, where they appear as varargs that must be peeled apart into + -- Expand args to command name and the rest of argv. + -- These arguments are pushed directly to the stack by + -- loader, then handed off to cli_execute. cli_execute + -- then passes them on to the invoked function, where + -- they appear as varargs that must be peeled apart into -- their respective components. local _, argv = cli.arguments(...) @@ -63,10 +64,11 @@ cli.foo = function(...) for k, v in ipairs(argv) do print("arg #" .. tostring(k) .. ": '" .. v .. "'") end - -- Perform a loader command directly. This will not get dispatched back - -- to Lua, so it is acceptable to have a function of the exact same name - -- in loader. Lua will have the first chance to handle any commands - -- executed at the loader prompt. + -- Perform a loader command directly. This will not get + -- dispatched back to Lua, so it is acceptable to have a + -- function of the exact same name in loader. Lua will + -- have the first chance to handle any commands executed + -- at the loader prompt. loader.perform("foo") end .Ed