diff options
| author | Karel Zak <kzak@redhat.com> | 2024-01-11 17:00:25 +0100 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2024-01-11 17:24:14 +0100 |
| commit | c1b1b22e87c03bd99f7a1ff79c3cc6968f95658a (patch) | |
| tree | 6df41ed72be45eadcfa0c33faf3418da3ce25ef3 /misc-utils/lsblk.c | |
| parent | fb428649e1cde2433cfa42a6dd42d9eb896860f4 (diff) | |
| download | util-linux-c1b1b22e87c03bd99f7a1ff79c3cc6968f95658a.tar.gz | |
lsblk: add docs for filters and counters
Fixes: https://github.com/util-linux/util-linux/issues/2697
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.c')
| -rw-r--r-- | misc-utils/lsblk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index e9d732f920..30bd2edfdf 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -2313,10 +2313,10 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" -M, --merge group parents of sub-trees (usable for RAIDs, Multi-path)\n"), out); fputs(_(" -O, --output-all output all columns\n"), out); fputs(_(" -P, --pairs use key=\"value\" output format\n"), out); - fputs(_(" -Q, --filter <query> restrict output\n"), out); - fputs(_(" --highlight <query> colorize lines maching the query\n"), out); - fputs(_(" --ct-filter <query> restrict the next counters\n"), out); - fputs(_(" --ct <name>[:<param>[:<function>]] define custom counter\n"), out); + fputs(_(" -Q, --filter <expr> print only lines maching the expression\n"), out); + fputs(_(" --highlight <expr> colorize lines maching the expression\n"), out); + fputs(_(" --ct-filter <expr> restrict the next counter\n"), out); + fputs(_(" --ct <name>[:<param>[:<func>]] define a custom counter\n"), out); fputs(_(" -S, --scsi output info about SCSI devices\n"), out); fputs(_(" -N, --nvme output info about NVMe devices\n"), out); fputs(_(" -v, --virtio output info about virtio devices\n"), out); |
