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)]
|
#[clap(short = 's', long)]
|
||||||
msgsize: Option<usize>,
|
msgsize: Option<usize>,
|
||||||
/// Name of the queue
|
/// Name of the queue
|
||||||
#[clap(value_name = "QNAME")]
|
#[clap(value_name = "QUEUE")]
|
||||||
queue: String,
|
queue: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ use posixmq::PosixMq;
|
||||||
#[derive(Clap, Debug)]
|
#[derive(Clap, Debug)]
|
||||||
pub struct Info {
|
pub struct Info {
|
||||||
/// Name of the queue
|
/// Name of the queue
|
||||||
#[clap(value_name = "QNAME")]
|
#[clap(value_name = "QUEUE")]
|
||||||
pub queue: String,
|
pub queue: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ pub struct Recv {
|
||||||
/// Deadline until messages are received (format: "%Y-%m-%d %H:%M:%S")
|
/// Deadline until messages are received (format: "%Y-%m-%d %H:%M:%S")
|
||||||
#[clap(short, long)]
|
#[clap(short, long)]
|
||||||
pub deadline: Option<String>,
|
pub deadline: Option<String>,
|
||||||
#[clap(value_name = "QNAME")]
|
#[clap(value_name = "QUEUE")]
|
||||||
pub queue: String,
|
pub queue: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ pub struct Send {
|
||||||
#[clap(short, long)]
|
#[clap(short, long)]
|
||||||
pub non_blocking: bool,
|
pub non_blocking: bool,
|
||||||
/// Name of the queue
|
/// Name of the queue
|
||||||
#[clap(value_name = "QNAME")]
|
#[clap(value_name = "QUEUE")]
|
||||||
pub queue: String,
|
pub queue: String,
|
||||||
/// Message to be sent to the queue
|
/// Message to be sent to the queue
|
||||||
#[clap(value_name = "MESSAGE")]
|
#[clap(value_name = "MESSAGE")]
|
||||||
|
|
|
@ -5,7 +5,7 @@ use clap::Clap;
|
||||||
#[derive(Clap, Debug)]
|
#[derive(Clap, Debug)]
|
||||||
pub struct Unlink {
|
pub struct Unlink {
|
||||||
/// Name of the queue
|
/// Name of the queue
|
||||||
#[clap(value_name = "QNAME")]
|
#[clap(value_name = "QUEUE")]
|
||||||
pub queue: String,
|
pub queue: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue