]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsns: fix --list-columns option
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Tue, 2 Sep 2025 21:13:44 +0000 (17:13 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Tue, 2 Sep 2025 21:26:01 +0000 (17:26 -0400)
commit6246de3e535f4d22f606f2b1b68fc991d2181ac2
treed32cd04e24bbf5d26f7bdb91b88f9f607fd95798
parentc407a13fc1f5842881c967d0132035c7db442d4a
lsns: fix --list-columns option

This patch makes it so that we continue parsing all CLI options even
when we find -H/--list-columns. Therefore we don't miss any format
specifying options, namely --json and --raw, and print the columns
in the desired form.

Closes: #3725
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
sys-utils/lsns.c