Rename queue help name

This commit is contained in:
finga 2021-06-20 02:00:08 +02:00
parent 3572b12a1a
commit 9b52305285
5 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

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

View file

@ -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")]

View file

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