[Bug 293575] shutdown(8): accept -P (Linux) as a synonym for -p (power off)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 13 Mar 2026 14:41:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293575

Paarth Shirsat <paarthshirsat123@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paarthshirsat123@gmail.com

--- Comment #1 from Paarth Shirsat <paarthshirsat123@gmail.com> ---
Created attachment 268777
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268777&action=edit
Patch adding -P as a synonym for -p for Linux compatibility.

Changes shutdown.c to accept the new flag and updates shutdown.8 to document it
in both the options list and the COMPATIBILITY section. A clean build was
observed and the documentation rendering was verified with mandoc.

-- 
You are receiving this mail because:
You are the assignee for the bug.