]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(human_readable_base, output_units): Remove;
authorJim Meyering <jim@meyering.net>
Mon, 29 Jun 1998 15:33:38 +0000 (15:33 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 29 Jun 1998 15:33:38 +0000 (15:33 +0000)
commit43f4099c952d78cf79b4327b939b84916169957f
tree7a814e36fcb1244330b14000b0594cb2f94212d9
parent476cb025168f48b04213ae79f47f5a09d15e9e77
(human_readable_base, output_units): Remove;
replace with new variable output_block_size.  All uses changed.
(long_options, usage, main): Add --block-size.
(main, decode_switches): Use new human_block_size function to
initialize output block size consistently with other programs.

(print_header, show_dev): Shrink some columns and expand
others, to squeeze in support for today's larger filesystems.
(print_header): Print output block size using power-of-1024 SI format.
(df_readable): Coalesce last two args into one, for convenience.
All callers changed.
(main): Remove check for portable output format and larger
or human-readable block sizes.

From Paul Eggert.
src/df.c