Do something sensible if both -h and -k are given.

Approved by:	re(scottl)
This commit is contained in:
David E. O'Brien 2003-12-01 19:10:29 +00:00
parent da6f8233bc
commit d5f9f41c7b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123089
2 changed files with 9 additions and 0 deletions

View File

@ -186,6 +186,14 @@ option is specified, print the file size allocation in kilobytes,
not blocks.
This option overrides the environment variable
.Ev BLOCKSIZE .
Note that
.Fl k
is mutually exclusive to
.Fl h
and later
.Fl k
will nullify earlier
.Fl h .
.It Fl l
(The lowercase letter
.Dq ell . )

View File

@ -267,6 +267,7 @@ main(int argc, char *argv[])
f_inode = 1;
break;
case 'k':
f_humanval = 0;
f_kblocks = 1;
break;
case 'm':