From 7ebaa5c6bda5544c0c6481807e4e233b10c435c4 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Wed, 14 May 2025 11:06:09 -0800 Subject: [PATCH] docs: fix usage, we allow file paths now --- README.md | 2 +- docs/lsr.1.scd | 2 +- src/main.zig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7926123..ac79658 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ which will install `lsr` and the associated manpage appropriately. Replace ## Usage ``` -lsr [options] [directory] +lsr [options] [path] --help Print this message and exit --version Print the version string diff --git a/docs/lsr.1.scd b/docs/lsr.1.scd index d928167..49f1f04 100644 --- a/docs/lsr.1.scd +++ b/docs/lsr.1.scd @@ -6,7 +6,7 @@ lsr - list directory contents, but with io_uring # SYNOPSIS -*lsr* [options...] [directory] +*lsr* [options...] [path] # DESCRIPTION diff --git a/src/main.zig b/src/main.zig index fbd2531..4fdf1ad 100644 --- a/src/main.zig +++ b/src/main.zig @@ -8,7 +8,7 @@ const posix = std.posix; const usage = \\Usage: - \\ lsr [options] [directory] + \\ lsr [options] [path] \\ \\ --help Print this message and exit \\ --version Print the version string -- 2.51.2