Make arguments to `send` command required
This commit is contained in:
parent
b4859dd24b
commit
05a7a540c2
|
@ -31,10 +31,10 @@ use crate::{
|
|||
// Options accepted for the `send` command
|
||||
#[derive(Debug, Options)]
|
||||
pub(crate) struct Command {
|
||||
#[options(help = "the recipient's Sapling or transparent address")]
|
||||
#[options(required, help = "the recipient's Sapling or transparent address")]
|
||||
address: String,
|
||||
|
||||
#[options(help = "the amount in zatoshis")]
|
||||
#[options(required, help = "the amount in zatoshis")]
|
||||
value: u64,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue