util-linux/misc-utils
Karel Zak be685b98c0 lsblk: don't duplicate columns
$ lsblk --discard --perms
NAME   DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO NAME     SIZE OWNER GROUP MODE
sdb           0        0B       0B         0 sdb     74.5G root  disk  brw-rw----
└─sdb1        0        0B       0B         0 └─sdb1  74.5G root  disk  brw-rw----
sda           0      512B       2G         0 sda    223.6G root  disk  brw-rw----
├─sda4        0      512B       2G         0 ├─sda4    50G root  disk  brw-rw----
├─sda2        0      512B       2G         0 ├─sda2   200M root  disk  brw-rw----
├─sda5        0      512B       2G         0 ├─sda5  35.1G root  disk  brw-rw----
├─sda3        0      512B       2G         0 ├─sda3 130.3G root  disk  brw-rw----
├─sda1        0      512B       2G         0 ├─sda1   200M root  disk  brw-rw----
└─sda6        0      512B       2G         0 └─sda6   7.8G root  disk  brw-rw----

... see NAME column.

It's fine to support duplicated columns when requested by user (e.g.
-o NAME,NAME,SIZE), but it does not make sense for the default output
when multiple command options specified.

Signed-off-by: Karel Zak <kzak@redhat.com>
2017-04-19 14:28:16 +02:00
..
.gitignore chkdupexe: remove, deprecated for years 2013-03-14 13:34:11 +01:00
Makemodule.am fincore: use libsmartcols 2017-03-23 14:09:20 +01:00
blkid.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
blkid.c blkid: fix compiler warning [-Wdiscarded-qualifiers] 2017-03-24 12:07:17 +01:00
cal.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
cal.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
fincore.1 fincore: add column RES 2017-03-27 13:08:40 +02:00
fincore.c fincore: fix file descriptor leak 2017-04-10 15:40:39 +02:00
findfs.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
findfs.c textual: add a docstring to most of the utilities 2015-01-06 11:27:38 +01:00
findmnt-verify.c findmnt: fix couple memory leaks [cppcheck] 2017-02-20 13:00:58 +01:00
findmnt.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
findmnt.c misc: add static keyword to where needed [smatch scan] 2017-02-20 12:58:49 +01:00
findmnt.h findmnt: add --verify and --verbose 2016-09-23 13:21:02 +02:00
getopt-parse.bash getops: improve getopt-parse.bash example 2016-07-27 16:08:43 +01:00
getopt-parse.tcsh getops: improve getopt-parse.bash example 2016-07-27 16:08:43 +01:00
getopt.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
getopt.c misc: add static keyword to where needed [smatch scan] 2017-02-20 12:58:49 +01:00
kill.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
kill.c misc: add static keyword to where needed [smatch scan] 2017-02-20 12:58:49 +01:00
logger.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
logger.c logger: support sub-trees in the ID for RFC5424 2017-01-28 12:39:52 +01:00
look.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
look.c misc: add static keyword to where needed [smatch scan] 2017-02-20 12:58:49 +01:00
lsblk.8 lsblk: add ZONED column 2017-04-19 14:07:03 +02:00
lsblk.c lsblk: don't duplicate columns 2017-04-19 14:28:16 +02:00
lslocks.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
lslocks.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
mcookie.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
mcookie.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
namei.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
namei.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
rename.1 rename: add --no-act option 2017-02-15 13:41:46 +01:00
rename.c rename: add --no-act option 2017-02-15 13:41:46 +01:00
test_uuidd.c tests: add static keyword where needed [smatch scan] 2017-03-17 21:22:26 +00:00
uuidd.8.in docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
uuidd.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
uuidd.rc.in uuidd: Fixed a typo in daemon logging message 2014-11-18 14:14:47 +01:00
uuidd.service.in uuidd: remove timeout from systemd service file 2014-04-29 10:37:26 +02:00
uuidd.socket.in build-sys: add missing files 2012-07-11 18:00:09 +02:00
uuidgen.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
uuidgen.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
whereis.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
whereis.c misc: add static keyword to where needed [smatch scan] 2017-02-20 12:58:49 +01:00
wipefs.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
wipefs.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00