Skip to content

Commit e487063

Browse files
committed
allow hyphen values on rpc methods
1 parent 6262511 commit e487063

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rust-cli/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ enum Commands {
4949
/// Call bitcoin-cli <method> [params] on <node> in [network]
5050
Rpc {
5151
node: u64,
52+
#[arg(allow_hyphen_values=true)]
5253
method: String,
5354
params: Option<Vec<String>>,
5455
},

0 commit comments

Comments
 (0)