mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: typo in the argument documentation for the CLI (#2158)
This commit is contained in:
parent
7d993c1517
commit
05ecbca994
1 changed files with 2 additions and 2 deletions
|
|
@ -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>,
|
||||
}
|
||||
|
|
@ -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>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue