Re: [PATCH] df: reorder default field list of --output option
From:
Bernhard Voelker
Subject:
Re: [PATCH] df: reorder default field list of --output option
Date:
Thu, 22 Nov 2012 15:27:44 +0100
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2
On 11/22/2012 03:02 PM, PƔdraig Brady wrote:
> No backwards compat issues to worry about yet.
yes. ;-)
> Patch looks good.
Thanks for the review.
BTW: Although I also reordered the fields in the description
in usage() and in the description of each field in coreutils.texi,
there's no explicit documentation about the default order yet.
Should I squash in something like this?
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 53f7b58..cc9df7d 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -10687,7 +10687,8 @@ out of date. This is the default.
@itemx @w{@kbd{--output}[=@var{field_list}]}
@opindex --output
Use the output format defined by @var{field_list}, or print all fields if
-@var{field_list} is omitted.
+@var{field_list} is omitted. In the latter case, the order of the columns
+conforms to the order of the field descriptions below.
The use of the @option{--output} together with each of the options @option{-i},
@option{-P}, and @option{-T} is mutually exclusive.
Have a nice day,
Berny