Skip to content

Commit

Permalink
fix: typo in the argument documentation for the CLI (#2158)
Browse files Browse the repository at this point in the history
  • Loading branch information
hankertrix authored Jan 5, 2025
1 parent 7d993c1 commit 05ecbca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yazi-cli/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub(super) struct CommandPub {
/// Send the message with a JSON body.
#[arg(long)]
pub(super) json: Option<String>,
/// Send the message as string of list.
/// Send the message as a list of strings.
#[arg(long, num_args = 0..)]
pub(super) list: Vec<String>,
}
Expand Down Expand Up @@ -109,7 +109,7 @@ pub(super) struct CommandPubTo {
/// Send the message with a JSON body.
#[arg(long)]
pub(super) json: Option<String>,
/// Send the message as string of list.
/// Send the message as a list of strings.
#[arg(long, num_args = 0..)]
pub(super) list: Vec<String>,
}
Expand Down

0 comments on commit 05ecbca

Please sign in to comment.