From c9957bdf259c3b80f3bb9b71cad25becb3b9761b Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Wed, 7 May 2025 10:38:28 -0500 Subject: [PATCH] docs: document hyperlink flag --- README.md | 1 + docs/lsr.1.scd | 5 ++++- src/main.zig | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e3a104f..4d8ee71 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ DISPLAY OPTIONS -C, --columns Print the output in columns --color=WHEN When to use colors (always, auto, never) --group-directories-first When to use colors (always, auto, never) + --hyperlinks=WHEN When to use OSC 8 hyperlinks (always, auto, never) --icons=WHEN When to display icons (always, auto, never) -l, --long Display extended file metadata diff --git a/docs/lsr.1.scd b/docs/lsr.1.scd index 381a3cf..3730aee 100644 --- a/docs/lsr.1.scd +++ b/docs/lsr.1.scd @@ -31,11 +31,14 @@ batching. When to use colors (always, auto, never) *--group-directories-first* - When to use colors (always, auto, never) + Print all directories before printing regular files *--help* Print the help menu and exit +*--hyperlinks=WHEN* + When to use OSC 8 hyperlinks (always, auto, never) + *--icons=WHEN* When to display icons (always, auto, never) diff --git a/src/main.zig b/src/main.zig index 589bdfc..f3faef3 100644 --- a/src/main.zig +++ b/src/main.zig @@ -20,6 +20,7 @@ const usage = \\ -C, --columns Print the output in columns \\ --color=WHEN When to use colors (always, auto, never) \\ --group-directories-first When to use colors (always, auto, never) + \\ --hyperlinks=WHEN When to use OSC 8 hyperlinks (always, auto, never) \\ --icons=WHEN When to display icons (always, auto, never) \\ -l, --long Display extended file metadata \\ -- 2.51.2