From 34398e2d9be9501c207de8409b36f4eb39f3e9de Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Sun, 26 Mar 2000 14:46:41 +0000 Subject: [PATCH] Sync SYNOPSIS and usage() string. --- usr.bin/nohup/nohup.1 | 7 ++++--- usr.bin/nohup/nohup.c | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/usr.bin/nohup/nohup.1 b/usr.bin/nohup/nohup.1 index 9aa327128352..a674c60bd54a 100644 --- a/usr.bin/nohup/nohup.1 +++ b/usr.bin/nohup/nohup.1 @@ -44,14 +44,15 @@ .Sh SYNOPSIS .Nm .Ar command -.Op Ar arg ... +.Op Ar arguments .Sh DESCRIPTION The .Nm utility invokes .Ar command with -its arguments +its +.Ar arguments and at this time sets the signal .Dv SIGHUP to be ignored. @@ -78,7 +79,7 @@ Consult the manual page. .Sh ENVIRONMENT The following variable is utilized by -.Nm nohup . +.Nm Ns : .Bl -tag -width flag .It Ev HOME If the output file diff --git a/usr.bin/nohup/nohup.c b/usr.bin/nohup/nohup.c index 8992997b6cfd..36f832e26a71 100644 --- a/usr.bin/nohup/nohup.c +++ b/usr.bin/nohup/nohup.c @@ -118,6 +118,6 @@ dupit: (void)lseek(fd, (off_t)0, SEEK_END); void usage() { - (void)fprintf(stderr, "usage: nohup command\n"); + (void)fprintf(stderr, "usage: nohup command [arguments]\n"); exit(1); }