Page MenuHomeFreeBSD

timeout(1): Add -v/--verbose option to show diagnosis info
ClosedPublic

Authored by gbe on Dec 28 2024, 8:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 13, 5:16 PM
Unknown Object (File)
Mar 13 2025, 4:58 PM
Unknown Object (File)
Feb 15 2025, 9:55 AM
Unknown Object (File)
Feb 14 2025, 6:24 PM
Unknown Object (File)
Feb 8 2025, 1:15 AM
Unknown Object (File)
Feb 4 2025, 3:42 AM
Unknown Object (File)
Jan 25 2025, 4:28 PM
Unknown Object (File)
Jan 10 2025, 5:50 PM
Subscribers

Details

Summary

The -v/--verbose option enables this utility to show diagnosis info to
stderr about any signal sent on timeout.

This implementation refers to GNU coreutils's timeout(1).

Obtained from: DragonFlyBSD
MFC after: 1 week

Test Plan

make in the timeout(1) directory and manual tests

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

gbe requested review of this revision.Dec 28 2024, 8:33 AM
This revision is now accepted and ready to land.Dec 28 2024, 11:49 AM
ziaee added a subscriber: ziaee.

Manpage looks awesome. stderr(4) could also be used with Xr.

pstef added inline comments.
bin/timeout/timeout.1
37

-kill-after was replaced with -verbose?

gbe marked an inline comment as done.Jan 4 2025, 2:54 PM
gbe added inline comments.
bin/timeout/timeout.1
37

No, if you look at the first line the option is double listed. This was a mistake I made in the previous revision, but I corrected it first in this one.