From 7cfd1b26437acd45f1e2e75c9648afabb8f5b2da Mon Sep 17 00:00:00 2001 From: Davidlohr Bueso Date: Tue, 12 Jun 2012 14:50:06 +0200 Subject: partx: use -s option for default output 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 --- partx/partx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'partx/partx.c') diff --git a/partx/partx.c b/partx/partx.c index f19b91928..68246db73 100644 --- a/partx/partx.c +++ b/partx/partx.c @@ -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) { -- cgit v1.2.3-55-g7522