summaryrefslogtreecommitdiffstats
path: root/partx/partx.c
diff options
context:
space:
mode:
authorDavidlohr Bueso2012-06-12 14:50:06 +0200
committerKarel Zak2012-06-15 13:21:25 +0200
commit7cfd1b26437acd45f1e2e75c9648afabb8f5b2da (patch)
tree7b0d8ef68110941e270c5f6c57a883906e3e6ed2 /partx/partx.c
parentlib/blkdev: return static strings by blkdev_scsi_type_to_name() (diff)
downloadkernel-qcow2-util-linux-7cfd1b26437acd45f1e2e75c9648afabb8f5b2da.tar.gz
kernel-qcow2-util-linux-7cfd1b26437acd45f1e2e75c9648afabb8f5b2da.tar.xz
kernel-qcow2-util-linux-7cfd1b26437acd45f1e2e75c9648afabb8f5b2da.zip
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 <dave@gnu.org>
Diffstat (limited to 'partx/partx.c')
-rw-r--r--partx/partx.c3
1 files changed, 1 insertions, 2 deletions
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) {