From nobody Wed Sep 13 07:34:15 2023 X-Original-To: bugs@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 4Rlsdz6pHCz4t5NS for ; Wed, 13 Sep 2023 07:34:15 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rlsdz3BXlz3Kxg for ; Wed, 13 Sep 2023 07:34:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694590455; a=rsa-sha256; cv=none; b=Gbt+QPamIinDAwlgzizkAx4wA1oe7hlF3gD4VUlJ90QzljdbowX/0mUrUD/YRLjYpE0NUx sahBx6bMKTv1Xg4/5Yl88WC6A2vjAS1V5NbgMosbWAxTiwxxROl2eOiE59hv9rUe++xzCW 55BkowTnsXIzqvSDGQ1LPM2MzQZUP+/+2S8XL+LfoTnZNFvSmOgzJetTRygMp8fFVhOZGV +n/iXfkSeXUqDc33SNXI+kSPtyaILup+brYFoUtp6Uu4s9F931mh71RslvRNs+6DEmQhk/ Ncz6ZRN3VjMkRLDZwzJ0IoUMTEZ+irCIKASuUzH1FeUBHGOJQv4LoR9rePqXTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694590455; 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=ao51r+6zqS9pcYRHDsUkIfZFXaMcFg4CMgIC/L1IEmw=; b=lHgIF75Z+0rmHlJFo8Ji11FpcgJH4F+KBOs5ozkEsa3Lnpwoz2z/pO/bmZBtYPhv/zDSNZ YJlOTv7Ow2aU0Y3IbevQs/Pcv8U3q0Fp3bbf41tcG48lHmcOOPizq2oT9zQbpYYgvXg99b dlhvRBB9SAfdZZ28fYdU+XuMOamL4jsKSIa7LpjFkJ6TPdVLuuo73jdmGVLmuPoYJn0heH /XuHw9onEY2Ap9voJLr3avaYPf3Vc/uZ1s3GU3a8N6IG8vAFeFpRdoFlOI+FYPyp1nG/uf gI6FtSPCbrd2e96J6fdevo8ncjHksainw3ksgdLyC8HLfVgpGNZlGMi6X4giHg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4Rlsdz28RHz15LR for ; Wed, 13 Sep 2023 07:34:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38D7YF7L047498 for ; Wed, 13 Sep 2023 07:34:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38D7YFZ8047497 for bugs@FreeBSD.org; Wed, 13 Sep 2023 07:34:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273755] apropos.1 references options in man.1 that don't exist Date: Wed, 13 Sep 2023 07:34:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: concussious.bugzilla@runbox.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273755 Bug ID: 273755 Summary: apropos.1 references options in man.1 that don't exist Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: concussious.bugzilla@runbox.com contrib/mandoc/apropos.1 (rendered) Line 66: The options -chlw are also supported and are documented in man(1). These options are not documented in man(1). apropos.1 is referencing mandoc man(1), but we are using FreeBSD man(1). From mandoc man(1): -c Copy the manual page to the standard output instead of using less(1= ) to paginate it. This is done by default if the standard output is not a termin= al device. -h Display only the SYNOPSIS lines of the requested manual pages. Impl= ies -a and -c. -l A synonym for mandoc(1). The name arguments are interpreted as filenames. No search is done and file, path, section, subsection, and -w are ignored. This option implies -a. -w List the pathnames of all matching manual pages instead of displayi= ng any of them. If no name is given, list the directories that would be search= ed. I tested them: -c does not appear to do anything. -h prints alternating rows of periods. -l does not make sense (to me) in the context of apropos. -w works, is very helpful, and certainly must be mentioned. apropos(1) certainly accepts these options at any rate. I do not understand how to integrate these options into the manual. Our man(1) is a very nice example to study and learn shell scripting, and h= as extra features. Issue present for all supported and development releases since the 2015 imp= ort of mandoc apropos(1). --=20 You are receiving this mail because: You are the assignee for the bug.=