Rename queue help name
This commit is contained in:
parent
3572b12a1a
commit
9b52305285
5 changed files with 5 additions and 5 deletions
|
@ -16,7 +16,7 @@ pub struct Create {
|
|||
#[clap(short = 's', long)]
|
||||
msgsize: Option<usize>,
|
||||
/// Name of the queue
|
||||
#[clap(value_name = "QNAME")]
|
||||
#[clap(value_name = "QUEUE")]
|
||||
queue: String,
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ use posixmq::PosixMq;
|
|||
#[derive(Clap, Debug)]
|
||||
pub struct Info {
|
||||
/// Name of the queue
|
||||
#[clap(value_name = "QNAME")]
|
||||
#[clap(value_name = "QUEUE")]
|
||||
pub queue: String,
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ pub struct Recv {
|
|||
/// Deadline until messages are received (format: "%Y-%m-%d %H:%M:%S")
|
||||
#[clap(short, long)]
|
||||
pub deadline: Option<String>,
|
||||
#[clap(value_name = "QNAME")]
|
||||
#[clap(value_name = "QUEUE")]
|
||||
pub queue: String,
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ pub struct Send {
|
|||
#[clap(short, long)]
|
||||
pub non_blocking: bool,
|
||||
/// Name of the queue
|
||||
#[clap(value_name = "QNAME")]
|
||||
#[clap(value_name = "QUEUE")]
|
||||
pub queue: String,
|
||||
/// Message to be sent to the queue
|
||||
#[clap(value_name = "MESSAGE")]
|
||||
|
|
|
@ -5,7 +5,7 @@ use clap::Clap;
|
|||
#[derive(Clap, Debug)]
|
||||
pub struct Unlink {
|
||||
/// Name of the queue
|
||||
#[clap(value_name = "QNAME")]
|
||||
#[clap(value_name = "QUEUE")]
|
||||
pub queue: String,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue