From 9b52305285d2385c7504299eb671449ff8839953 Mon Sep 17 00:00:00 2001 From: finga Date: Sun, 20 Jun 2021 02:00:08 +0200 Subject: [PATCH] Rename queue help name --- src/create.rs | 2 +- src/info.rs | 2 +- src/recv.rs | 2 +- src/send.rs | 2 +- src/unlink.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/create.rs b/src/create.rs index 26652c3..b57ce6e 100644 --- a/src/create.rs +++ b/src/create.rs @@ -16,7 +16,7 @@ pub struct Create { #[clap(short = 's', long)] msgsize: Option, /// Name of the queue - #[clap(value_name = "QNAME")] + #[clap(value_name = "QUEUE")] queue: String, } diff --git a/src/info.rs b/src/info.rs index e2be5ba..0fd1e76 100644 --- a/src/info.rs +++ b/src/info.rs @@ -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, } diff --git a/src/recv.rs b/src/recv.rs index 231d841..5452d85 100644 --- a/src/recv.rs +++ b/src/recv.rs @@ -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, - #[clap(value_name = "QNAME")] + #[clap(value_name = "QUEUE")] pub queue: String, } diff --git a/src/send.rs b/src/send.rs index 7b8a6e8..f1f846d 100644 --- a/src/send.rs +++ b/src/send.rs @@ -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")] diff --git a/src/unlink.rs b/src/unlink.rs index 71eaac4..ae837e1 100644 --- a/src/unlink.rs +++ b/src/unlink.rs @@ -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, }