diff --git a/README.md b/README.md index 3382452..23249a3 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/create.rs b/src/create.rs index 4bb17eb..c55b555 100644 --- a/src/create.rs +++ b/src/create.rs @@ -15,7 +15,7 @@ pub struct Create { /// Message size in bytes #[clap(short = 's', long)] msgsize: Option, - /// Name of the queue + /// Name of the new queue #[clap(value_name = "QUEUE")] queue: String, } diff --git a/src/recv.rs b/src/recv.rs index 356829d..8c045d5 100644 --- a/src/recv.rs +++ b/src/recv.rs @@ -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, + /// Name of the queue #[clap(value_name = "QUEUE")] pub queue: String, }