Fix readme and clap help

This commit is contained in:
finga 2021-06-26 23:09:40 +02:00
parent 8be1b23bad
commit ac115a6966
3 changed files with 3 additions and 2 deletions

View file

@ -47,7 +47,7 @@ one you built.
## Using `mqrs`
`mqrs` supports five commands: `create`, `info`, `unlink`, `send` and
`receive`. All commands do not have to be specified fully. If the
`recv`. All commands do not have to be specified fully. If the
command is clearly distinguishable from all the others, it does not
have to be completed further.

View file

@ -15,7 +15,7 @@ pub struct Create {
/// Message size in bytes
#[clap(short = 's', long)]
msgsize: Option<usize>,
/// Name of the queue
/// Name of the new queue
#[clap(value_name = "QUEUE")]
queue: String,
}

View file

@ -23,6 +23,7 @@ pub struct Recv {
/// Deadline until messages are received (format: "%Y-%m-%d %H:%M:%S")
#[clap(short, long, conflicts_with = "timeout")]
pub deadline: Option<String>,
/// Name of the queue
#[clap(value_name = "QUEUE")]
pub queue: String,
}