chore: fix typo in the argument documentation for the ya binary

This commit is contained in:
hankertrix 2025-01-04 22:39:33 +08:00
parent 7d993c1517
commit 5d539afb05

View file

@ -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>,
}