df: reorder default field list of --output option
authorBernhard Voelker <mail@bernhard-voelker.de>
Thu, 22 Nov 2012 14:40:54 +0000 (15:40 +0100)
committerBernhard Voelker <mail@bernhard-voelker.de>
Thu, 22 Nov 2012 14:40:54 +0000 (15:40 +0100)
commitce48a81bce089f703a12871f98ab1240c4c3554c
tree9dcadbc5ea7d5944b8c0b8b7d845ea4a7101649a
parent177815716eef942ec3a4364827195fbdcf6f080f
df: reorder default field list of --output option

As the inodes information is usually not so much of interest,
and some file systems including btrfs do not even provide it,
reading of the full df --output is easier when the block
statistic fields come just left of the last field, the mount
point.

* src/df.c (all_args_string): Move the inodes fields before
the block fields.
(usage): Likewise.
* tests/df/df-output.sh: Likewise.
* doc/coreutils.texi (df invocation): Likewise.  Additionally,
explicitly mention the default order of the --output option.
doc/coreutils.texi
src/df.c
tests/df/df-output.sh