Module Name: src Committed By: kre Date: Tue Dec 13 13:25:36 UTC 2022
Modified Files: src/usr.bin/timeout: timeout.1 timeout.c Log Message: POSIX is addint this utility in Issue 8 (whenever it appears). However they do not specify "long" options (ever). The --preserve and --foreground options in this utility had no short form, so they "invented" -p and -f so only standard form one char options needed to be specified. Change the opt processing here so -p == --preserve and -f == --foreground so we support the options POSIX will specify. No other changes here, just adding those alternates for the options. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/timeout/timeout.1 \ src/usr.bin/timeout/timeout.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.