Cosmetic in usage string. Typos in man page.

This commit is contained in:
Philippe Charnier 1997-07-21 12:06:18 +00:00
parent 492dbf7344
commit 78cad0814f
2 changed files with 20 additions and 8 deletions

View File

@ -17,22 +17,34 @@
.\" 5. Modifications may be freely made to this file providing the above
.\" conditions are met.
.\"
.\" $Id: limits.1,v 1.2 1997/02/22 19:55:37 peter Exp $
.\" $Id: limits.1,v 1.3 1997/07/16 11:35:18 davidn Exp $
.\"
.Dd January 15, 1996
.Dt LIMITS 1
.Os FreeBSD
.Sh NAME
.Nm limits
.Nd Set or display process resource limits
.Nd set or display process resource limits
.Sh SYNOPSIS
.Nm limits
.Op Fl C Ar class | Fl U Ar user
.Op Fl C Ar class
.Op Fl SHB
.Op Fl e
.Op Fl ea
.Op Fl cdflmnstu Op val
.Nm limits
.Op Fl C Ar class | Fl U Ar user
.Op Fl C Ar class
.Op Fl SHB
.Op Fl cdflmnstu Op val
.Op Fl E
.Op Ar name=value ...
.Op Ar command
.Nm limits
.Op Fl U Ar user
.Op Fl SHB
.Op Fl ea
.Op Fl cdflmnstu Op val
.Nm limits
.Op Fl U Ar user
.Op Fl SHB
.Op Fl cdflmnstu Op val
.Op Fl E
@ -180,7 +192,7 @@ resource limit.
.It Fl m Op Ar limit
Selects or sets the
.Em memoryuse
size limit
size limit.
.It Fl n Op Ar limit
Selects or sets the
.Em openfiles

View File

@ -20,7 +20,7 @@
*
* Display/change(+runprogram)/eval resource limits.
*
* $Id: limits.c,v 1.3 1997/03/29 04:30:26 imp Exp $
* $Id: limits.c,v 1.4 1997/05/10 19:00:58 davidn Exp $
*/
#include <err.h>
@ -450,7 +450,7 @@ usage(char const *msg, ...)
va_end(argp);
}
(void)fprintf(stderr,
"limits [-C class|-U user] [-eaSHBE] [-cdflmnstu [val]] [[name=val ...] cmd]\n");
"usage: limits [-C class|-U user] [-eaSHBE] [-cdflmnstu [val]] [[name=val ...] cmd]\n");
exit(EXIT_FAILURE);
}