From 05ecbca9944462c8b049f4602bfca4cd29111f93 Mon Sep 17 00:00:00 2001 From: hankertrix <91734413+hankertrix@users.noreply.github.com> Date: Sun, 5 Jan 2025 22:30:18 +0800 Subject: [PATCH] fix: typo in the argument documentation for the CLI (#2158) --- yazi-cli/src/args.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yazi-cli/src/args.rs b/yazi-cli/src/args.rs index a71f9c79..e22f8e9a 100644 --- a/yazi-cli/src/args.rs +++ b/yazi-cli/src/args.rs @@ -79,7 +79,7 @@ pub(super) struct CommandPub { /// Send the message with a JSON body. #[arg(long)] pub(super) json: Option, - /// Send the message as string of list. + /// Send the message as a list of strings. #[arg(long, num_args = 0..)] pub(super) list: Vec, } @@ -109,7 +109,7 @@ pub(super) struct CommandPubTo { /// Send the message with a JSON body. #[arg(long)] pub(super) json: Option, - /// Send the message as string of list. + /// Send the message as a list of strings. #[arg(long, num_args = 0..)] pub(super) list: Vec, }