Page MenuHomeFreeBSD

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

Authored by gbe on Sat, Dec 28, 8:33 AM.
Tags
None
Referenced Files
F107086793: D48225.diff
Thu, Jan 9, 9:55 PM
Unknown Object (File)
Wed, Jan 8, 11:11 PM
Unknown Object (File)
Mon, Jan 6, 7:50 AM
Unknown Object (File)
Mon, Jan 6, 6:13 AM
Unknown Object (File)
Mon, Jan 6, 4:59 AM
Unknown Object (File)
Sun, Jan 5, 11:45 PM
Unknown Object (File)
Sat, Jan 4, 8:53 AM
Unknown Object (File)
Sat, Jan 4, 8:27 AM
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.Sat, Dec 28, 8:33 AM
This revision is now accepted and ready to land.Sat, Dec 28, 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.Sat, Jan 4, 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.