illa-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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dwPD76BwCz3Dqy for ; Tue, 20 Jan 2026 10:47:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768906055; 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=rKWD7XEG8f1UhvCUSXvo95bI2r7+0M4zUdopKkDUNwg=; b=ocW4BcSCybcz6Y61efT8yVWSYM2BxJ5HS3dSLSjHr4Uo75oXPFrPjvGLrCgEzNjNODerUa 65813WdtIplO7CkXL5Cmn5XsCgGfJnUdx2e4w3v1LcGVOjcVL9ufViQ6szhDU9KPTNEONZ g9wBI1xcjAafJk3jo4DPVu7wnDkZmdyZE9WoT/WJ39FsHRVg1Ye3q1XLrTa3gyLrrX95dh EJ+9AbNehZPolZYmCNZWy9ONJZOMWtTe5rj+3Qdg/JgBUk1n1u/oWInLOZRrxLZBJTzumC XSw5fFwVojspvaAOsoWAozdxXDKvFAL0lIOt8odTjxSKD1I1L4UDRBFcMuzO+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768906055; 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=rKWD7XEG8f1UhvCUSXvo95bI2r7+0M4zUdopKkDUNwg=; b=I1x1SdDOvhEk2txLMhhCjPyCH13YDI9yPzrRowd42BmcAUzVvpb8k7QelltyXFMudAjUgl A78812uks0Mt7kpHk49/aTPEsPUAnonafDIX3pJjO5ghk/3wHbi5iMlYxeMFTvdfJIVoDa V/20plypGz7dw7g2dcQL4B6h8ikKCzaU/OBt+fcNR5kz87wB4+Ww6lErprPwblh9nirhyb woyaPDv2GxehsZpxqmoemZ5pQq3kQGmorpiIzjWBULD62zIWZ7azcz0NXkzLcX1JzKnBhC MaFrsBgJqPLa0iMJbxBpT0oOMT1h2IQvTBJcWpTs2l6SsyP6uKWdzmojAB/rVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768906055; a=rsa-sha256; cv=none; b=JGH0uj0YXHr+hpxZo2UWFcbo9lGFkOt9owarHC+d3O+WHDaq3atRUjhBbj1Ci4FcUh4qq2 tH3UfloehdiKAUMYKkKHT9oGQfX/IZfGUME4pcfyLXdz8sSmNs7/P1sNFEVs5HmSP3tZPJ L1aY7KoQatwb9HtDN5hJP4/SGF/PhfY4x4ULqUkWln6FZ3atk6y5jY4hRvoeTTo25vb1mX P1WHJD5FRlw1jO9t9ZvBsuogi9/49UodxN1dxZWrEHvjp61Y3G0ISNuvwneCq1tVgbyz74 rrWiHs2Pi0M/bxKkbgbom/XbbAJVs53ylBzAAIA+E/6brggJ4u27uYA1oHfXVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4dwPD75RMPz1Crg for ; Tue, 20 Jan 2026 10:47:35 +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 60KAlZ0r076992 for ; Tue, 20 Jan 2026 10:47:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 60KAlZbb076991 for bugs@FreeBSD.org; Tue, 20 Jan 2026 10:47:35 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 292596] Disjunction of behavior between /usr/sbin/pw and its manpage Date: Tue, 20 Jan 2026 10:47:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bsdpr@phoe.frmug.org 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D292596 Bug ID: 292596 Summary: Disjunction of behavior between /usr/sbin/pw and its manpage Product: Base System Version: 14.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: bsdpr@phoe.frmug.org In the pw(8) manpage we are instructed that the -n option is optional for t= he lock and unlock sub-commands, however this option is rejected and not menti= oned in the usage message: # pw lock -n foobar pw: illegal option -- n usage pw: unlock [switches] -V etcdir alternate /etc locations -C config configuration file -q quiet operation # pw unlock -n foobar pw: illegal option -- n usage pw: unlock [switches] -V etcdir alternate /etc locations -C config configuration file -q quiet operation The sub-command synopsis is given as follows in the manpage: pw [-R rootdir] [-V etcdir] lock [-n] name|[-u] uid [-q] [-C config] pw [-R rootdir] [-V etcdir] unlock [-n] name|[-u] uid [-q] [-C config] To fix this situation, either implement -n for all sub-commands, or remove = -n from the synopsis and the numerous paragraphs where it is mentioned. I favor the first course of action because it unifies the command usage among all i= ts sub-commands. --=20 You are receiving this mail because: You are the assignee for the bug.=