1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00

Merge fprintf and exit into errx.

Use .Ev for environment variable.
This commit is contained in:
Philippe Charnier 1999-11-27 17:03:07 +00:00
parent 541c4ca06d
commit 7c0e6e50e1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53762
2 changed files with 6 additions and 4 deletions

View File

@ -77,7 +77,8 @@ The following options are available:
.It Fl n .It Fl n
Print devices out by major/minor instead of name. Print devices out by major/minor instead of name.
.It Fl k .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. environment variable.
.It Fl T .It Fl T
Print the number of used and free slots in the several system tables Print the number of used and free slots in the several system tables
@ -382,7 +383,9 @@ default source of tables
.Ra K. Thompson .Ra K. Thompson
.Re .Re
.Sh BUGS .Sh BUGS
Does not understand NFS swap servers. Does not understand
.Tn NFS
swap servers.
.Sh HISTORY .Sh HISTORY
The The
.Nm pstat .Nm pstat

View File

@ -270,8 +270,7 @@ main(argc, argv)
break; break;
case 'v': case 'v':
case 'i': /* Backward compatibility. */ case 'i': /* Backward compatibility. */
fprintf(stderr, "vnode mode not supported\n"); errx(1, "vnode mode not supported");
exit(1);
#if 0 #if 0
vnodeflag = 1; vnodeflag = 1;
break; break;