[PATCH] partx: use -s option for default output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Davidlohr Bueso <dave@xxxxxxx>

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@xxxxxxx>
---
 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



--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux