fix: typo in the argument documentation for the CLI (#2158)

This commit is contained in:
hankertrix 2025-01-05 22:30:18 +08:00 committed by GitHub
parent 7d993c1517
commit 05ecbca994
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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