mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
Merge fprintf and exit into errx.
Use .Ev for environment variable.
This commit is contained in:
parent
541c4ca06d
commit
7c0e6e50e1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53762
@ -77,7 +77,8 @@ The following options are available:
|
||||
.It Fl n
|
||||
Print devices out by major/minor instead of name.
|
||||
.It Fl k
|
||||
Print sizes in kilobytes, regardless of the setting of the BLOCKSIZE
|
||||
Print sizes in kilobytes, regardless of the setting of the
|
||||
.Ev BLOCKSIZE
|
||||
environment variable.
|
||||
.It Fl T
|
||||
Print the number of used and free slots in the several system tables
|
||||
@ -382,7 +383,9 @@ default source of tables
|
||||
.Ra K. Thompson
|
||||
.Re
|
||||
.Sh BUGS
|
||||
Does not understand NFS swap servers.
|
||||
Does not understand
|
||||
.Tn NFS
|
||||
swap servers.
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm pstat
|
||||
|
@ -270,8 +270,7 @@ main(argc, argv)
|
||||
break;
|
||||
case 'v':
|
||||
case 'i': /* Backward compatibility. */
|
||||
fprintf(stderr, "vnode mode not supported\n");
|
||||
exit(1);
|
||||
errx(1, "vnode mode not supported");
|
||||
#if 0
|
||||
vnodeflag = 1;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user