From nobody Thu Oct 9 21:19:06 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 4cjN6L5drkz6C8Wv; Thu, 09 Oct 2025 21:19:06 +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 4cjN6L4nB8z3gtN; Thu, 09 Oct 2025 21:19:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760044746; 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=BCNRB8t4H6rfDXCaPouI5khGq0Zi18jDVVSYwg+WLFg=; b=owUOwau2ECq2njWaIq8s2TWGf5fPv3mK5a8ezgO/8ZCsX09281R0Vm4y1Y6KNZ6AGXgTnF 9ujIP8h67O3OTKNhE3uM7V/vdmqkZaauDmnSj78g2M5dSzEuFXKE+/AFZHFjmR4qxrfAbi KF7m1BoG4+QabBS5CCCDTo1Cn/WRiWkUkxkEutBCHHnmDom1ZNWL2mzZYDnf7q3O/bCPVI mmXZjJh7eakKDaASJbIuVPjPI2mBWzzaYB7tBHaeBdVdpSbmyD2t/dXmyR65vs22tvG1r8 P7rNuOIMvJy9t0hP/bsmQXsmcLlio6TtTFtxg1DTTJq6yMGV1c5fk6cF6NCobg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760044746; 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=BCNRB8t4H6rfDXCaPouI5khGq0Zi18jDVVSYwg+WLFg=; b=bKsow+DAKy3ZTghQK7hTG5cpSwMmfaTf9+PN83cDqzk4h5I0MARB3Mco7UHGxbyrcnGvfS emoGbjy4Az2lChDLTlNvjqp4fi9Rl79q53s9DLr5Z9neJ8Ss/hcV4ys6nNC66kJZGaWpBv wVxpoe4tE4KxCIJXJxm6gHZj2WRBBZICo57j2lZ9/jAQnfa7gZjGGMGrjPXmkAU9LvVJuj c0LQcIr8UAVrZBg9m99W9MwF/XfZdVC/vdKu/jPbUncT/yk/ZL4RILK+sI4eGW4BX0Zv8S 4c6C4u1j0/132DXtwBcY0LELPoBAhKNIMwToa35PRio5QojqS9cbxgb1nMeEow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760044746; a=rsa-sha256; cv=none; b=Atb9/JQh2N3hnx9hFypQblCuHrwRm9Rp/5quE7SlOs872oyzrE/brRyestG4Ft3orBOGXX /R12pGAx/m+MvMOvFrf7WUoCPIu00y9iDxTPW1RzIXE/9+pXPvo69Ykp+CiwtqWrk/9lp0 35gdZOqi9YRdkS9p2ySxGCfogdyAGXRKlhEn4YeORCbr/IIdh8yT+MiVZpnVIAFURSPVI6 H7r6D1qfYNq4uJqcrRekTrLG5EWruuVu2RZtuISyq3zF8BiUiRMhl4baXtPJ3f3U2QqU7N i3hnSqihyQN+gzH9bRSQchUAajnpSpnkrKAY53VLDD8D98RUgLqlbT6gJNbfXw== 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 4cjN6L4GDnzbHL; Thu, 09 Oct 2025 21:19:06 +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 599LJ6tj054374; Thu, 9 Oct 2025 21:19:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 599LJ6f4054371; Thu, 9 Oct 2025 21:19:06 GMT (envelope-from git) Date: Thu, 9 Oct 2025 21:19:06 GMT Message-Id: <202510092119.599LJ6f4054371@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: de36d0dbaeaf - main - 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/main X-Git-Reftype: branch X-Git-Commit: de36d0dbaeaf05e9bf949fdf22b560c34b2c0d74 Auto-Submitted: auto-generated The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=de36d0dbaeaf05e9bf949fdf22b560c34b2c0d74 commit de36d0dbaeaf05e9bf949fdf22b560c34b2c0d74 Author: Alexander Ziaee AuthorDate: 2025-10-09 21:13:54 +0000 Commit: Alexander Ziaee CommitDate: 2025-10-09 21:13:54 +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 --- 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