aboutsummaryrefslogtreecommitdiff
path: root/contrib/dtc/(public-mirror)
diff options
context:
space:
mode:
authorDamin Rido <daminrido139@gmail.com>2025-06-30 13:46:28 +0000
committerAlan Somers <asomers@FreeBSD.org>2025-07-15 21:09:02 +0000
commitb2bf651a797b7bf177146d497e59ab86e4898f6d (patch)
tree0a2680491152cee509c12920f661af53f1130732 /contrib/dtc/(public-mirror)
parent6567623f831daaffa67777d17780e8f424c1bb01 (diff)
sockstat: Reintroduce -w flag with altered behaviorHEADmain
The -w flag was previously removed when automatic column sizing was introduced. Originally, -w enabled wider output, but used hardcoded column widths that did not guarantee alignment with actual content. This commit reintroduces the -w flag with a new purpose: to dynamically size columns based on the longest entry in the current output. Unlike the original behavior, this version ensures fully aligned and consistently formatted rows. By default, sockstat now uses fixed-width columns for more compact output, especially in 80-column terminals. Users who prefer a full-width view can now use -w to enable automatic column sizing. Sponsored by: Google, LLC (GSoC 2025) MFC after: 2 weeks Pull Request: https://github.com/freebsd/freebsd-src/pull/1746 Reviewed by: asomers, glebius
Diffstat (limited to 'contrib/dtc/(public-mirror)')
0 files changed, 0 insertions, 0 deletions