From f0fb50bc2474e1855f197d6d9f0b8d01bfced142 Mon Sep 17 00:00:00 2001 From: finga Date: Sun, 27 Jun 2021 02:56:31 +0200 Subject: [PATCH] Improve help text --- README.md | 4 ++-- mqrs.1 | 2 +- src/send.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f0fce16..ebc9031 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,8 @@ optional arguments are supported: - `-n`, `--non-blocking`: Do not block - `-d`, `--deadline `: Deadline until messages are sent (format: `%Y-%m-%d %H:%M:%S`) -- `-p`, `--priority `: Use priority PRIO, PRIO >= 0 - [default: 0] +- `-p`, `--priority `: Set a different priority than + default, priority >= 0 [default: 0] - `-o`, `--timeout `: As for example in "5h 23min 42ms" ### Receive a message from a queue diff --git a/mqrs.1 b/mqrs.1 index b16690f..795809a 100644 --- a/mqrs.1 +++ b/mqrs.1 @@ -160,7 +160,7 @@ Produce verbose output Deadline until messages are received (format: "%Y-%m-%d %H:%M:%S") .TP 8 .B \-p, \-\-priority \fI\fP -Use priority PRIO, PRIO >= 0 [default: 0] +Set a different priority than default, priority >= 0 [default: 0] .TP 8 .B \-o, \-\-timeout \fI\fP Timeout as for example in "5h 23min 42ms" diff --git a/src/send.rs b/src/send.rs index e9a8d5e..1e99346 100644 --- a/src/send.rs +++ b/src/send.rs @@ -6,7 +6,7 @@ use humantime::Duration; /// Send a message to a message queue #[derive(Clap, Debug)] pub struct Send { - /// Use priority PRIO, PRIO >= 0 + /// Set a different priority, priority >= 0 #[clap(short, long, default_value = "0")] pub priority: u32, /// Do not block