Make arguments to `send` command required

This commit is contained in:
Jack Grigg 2023-07-06 14:05:02 +00:00
parent b4859dd24b
commit 05a7a540c2
1 changed files with 2 additions and 2 deletions

View File

@ -31,10 +31,10 @@ use crate::{
// Options accepted for the `send` command // Options accepted for the `send` command
#[derive(Debug, Options)] #[derive(Debug, Options)]
pub(crate) struct Command { 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, address: String,
#[options(help = "the amount in zatoshis")] #[options(required, help = "the amount in zatoshis")]
value: u64, value: u64,
} }