]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
partx: use -s option for default output
authorDavidlohr Bueso <dave@gnu.org>
Tue, 12 Jun 2012 12:50:06 +0000 (14:50 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 15 Jun 2012 11:21:25 +0000 (13:21 +0200)
It's been around a year and a half now that partx was rewritten,
and the legacy output should no longer be default.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
partx/partx.c

index f19b9192846d6b889fbdd2c40375fd29788c2279..68246db73555d61d5734d128aa0adb3f9e8fafbf 100644 (file)
@@ -744,9 +744,8 @@ int main(int argc, char **argv)
        if (ncolumns && !what)
                what = ACT_SHOW;
 
-       /* backwardly compatible default */
        if (!what)
-               what = ACT_LIST;
+               what = ACT_SHOW;
 
        /* --show default, could by modified by -o  */
        if (what == ACT_SHOW && !ncolumns) {