diff options
| author | Benno Schulenberg <bensberg@telfort.nl> | 2025-04-26 11:30:18 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2025-04-29 13:02:40 +0200 |
| commit | f6531ecfd2e9cd2210412f77543a5db1c7952952 (patch) | |
| tree | aa492d16157dbfd4b600a4f24e15ccabe25c6d2f /misc-utils/lsblk.c | |
| parent | fa6d89e6e313bfd234bbf286023da7ae73769ce9 (diff) | |
| download | util-linux-f6531ecfd2e9cd2210412f77543a5db1c7952952.tar.gz | |
docs,usage: harmonize description of --hyperlink, and add 2 missing ones
Harmonize the description by placing the option in a separate file.
Also, use _when_/<when> (instead of _mode_/<mode>) as the optional
argument, since the possible values are: "always", "never", "auto".
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
Diffstat (limited to 'misc-utils/lsblk.c')
| -rw-r--r-- | misc-utils/lsblk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index 7daa7f58f9..a65f5e4e62 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -2330,6 +2330,8 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" -d, --nodeps don't print slaves or holders\n"), out); fputs(_(" -e, --exclude <list> exclude devices by major number (default: RAM disks)\n"), out); fputs(_(" -f, --fs output info about filesystems\n"), out); + fputs(_(" --hyperlink[=<when>]\n" + " print paths as hyperlinks (always|never|auto)\n"), out); fputs(_(" -i, --ascii use ascii characters only\n"), out); fputs(_(" -l, --list use list format output\n"), out); fputs(_(" -m, --perms output info about permissions\n"), out); |
