[Bug 286373] Teach fmt(1) to query stdout's width

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Apr 2025 21:22:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286373

--- Comment #4 from Mikhail T. <freebsd-2024@virtual-estates.net> ---
> Saying the flag was ignored without explanation isn't very helpful.

I'm counting on warn(3) appending the explanation:

% fmt -A < /dev/null > /dev/null
fmt: ignoring the -A option: Inappropriate ioctl for device

Maybe, adding a more detailed message to the most common reason for the error
would be useful to some, but other callers of warn(3) don't usually bother with
that.

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