util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] partx: use -s option for default output
@ 2012-06-12 12:50 Davidlohr Bueso
  2012-06-15 11:26 ` Karel Zak
  0 siblings, 1 reply; 3+ messages in thread
From: Davidlohr Bueso @ 2012-06-12 12:50 UTC (permalink / raw)
  To: Karel Zak; +Cc: util-linux

From: Davidlohr Bueso <dave@gnu.org>

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 |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/partx/partx.c b/partx/partx.c
index f19b919..68246db 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) {
-- 
1.7.8.3




^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-15 11:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-12 12:50 [PATCH] partx: use -s option for default output Davidlohr Bueso
2012-06-15 11:26 ` Karel Zak
2012-06-15 11:30   ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).