Skip to content

Commit 785f772

Browse files
committed
Make --password argument mandatory in kaspawalletd
1 parent fd79e1f commit 785f772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wallet/daemon/src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub fn cli() -> Command {
3333
Command::new("kaspawalletd")
3434
.about(format!("{} (kaspawalletd) v{}", env!("CARGO_PKG_DESCRIPTION"), version()))
3535
.version(env!("CARGO_PKG_VERSION"))
36-
.arg(Arg::new("password").long("password").short('p').value_name("password").help("Path of password file"))
36+
.arg(Arg::new("password").long("password").short('p').value_name("password").help("Path of password file").required(true))
3737
.arg(
3838
Arg::new("name")
3939
.long("name")

0 commit comments

Comments
 (0)