diff options
author | charnier <charnier@FreeBSD.org> | 1997-07-21 12:04:31 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1997-07-21 12:04:31 +0000 |
commit | 12747632ef062c34c6c11e0d9fcf4c0dfe3568aa (patch) | |
tree | 61b24da2e6f4a8ae9c1df88733a183253f56c01f /usr.bin/leave/leave.1 | |
parent | 6fc33a9dac1b111924ffab8c40d92bdd6f641583 (diff) | |
download | FreeBSD-src-12747632ef062c34c6c11e0d9fcf4c0dfe3568aa.zip FreeBSD-src-12747632ef062c34c6c11e0d9fcf4c0dfe3568aa.tar.gz |
Check fgets' return value, silent -Wall.
Obtained from: OpenBSD
Diffstat (limited to 'usr.bin/leave/leave.1')
-rw-r--r-- | usr.bin/leave/leave.1 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/leave/leave.1 b/usr.bin/leave/leave.1 index cca4e5b..f7cbed8 100644 --- a/usr.bin/leave/leave.1 +++ b/usr.bin/leave/leave.1 @@ -38,7 +38,7 @@ .Nm leave .Nd remind you when you have to leave .Sh SYNOPSIS -.Nm leave +.Nm .Sm off .Oo .Op Cm \&+ @@ -52,7 +52,7 @@ have to leave. You are reminded 5 minutes and 1 minute before the actual time, at the time, and every minute thereafter. When you log off, -.Nm leave +.Nm exits just before it would have printed the next message. .Pp @@ -78,16 +78,16 @@ from the current time. .El .Pp If no argument is given, -.Nm leave +.Nm prompts with "When do you have to leave?". A reply of newline causes -.Nm leave +.Nm to exit, otherwise the reply is assumed to be a time. This form is suitable for inclusion in a .Pa .login or -.Pa .profile. +.Pa .profile . .Pp Leave ignores interrupts, quits, and terminates. To get rid of it you should either log off or use @@ -97,6 +97,6 @@ giving its process id. .Xr calendar 1 .Sh HISTORY The -.Nm leave +.Nm command appeared in .Bx 3.0 . |