You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help = "The amount to send, e.g. 50sat or 50000msat, must be a whole sat amount, cannot send msats on-chain. Will respect any on-chain reserve needed for anchor channels"
119
+
help = "The amount to send, e.g. 50sat or 50000msat, or 'all' to use all available on-chain funds. Exact amounts must be a whole sat amount. Will respect any on-chain reserve needed for anchor channels"
119
120
)]
120
-
amount:Option<Amount>,
121
-
#[arg(
122
-
long,
123
-
help = "Send all available balance to the address while retaining on-chain reserves for anchor channels"
124
-
)]
125
-
send_all:Option<bool>,
121
+
amount:AmountOrAll,
126
122
#[arg(
127
123
long,
128
124
help = "Fee rate in satoshis per virtual byte. If not set, a reasonable estimate will be used"
@@ -419,9 +415,9 @@ enum Commands {
419
415
)]
420
416
address:String,
421
417
#[arg(
422
-
help = "The amount to commit to the channel, e.g. 100sat or 100000msat, must be a whole sat amount, cannot send msats on-chain."
418
+
help = "The amount to commit to the channel, e.g. 100sat or 100000msat, or 'all' to use all available on-chain funds. Exact amounts must be a whole sat amount."
423
419
)]
424
-
channel_amount:Amount,
420
+
channel_amount:AmountOrAll,
425
421
#[arg(long, help = "Amount to push to the remote side, e.g. 50sat or 50000msat")]
426
422
push_to_counterparty:Option<Amount>,
427
423
#[arg(long, help = "Whether the channel should be public")]
@@ -457,9 +453,9 @@ enum Commands {
457
453
#[arg(help = "The hex-encoded public key of the channel's counterparty node")]
458
454
counterparty_node_id:String,
459
455
#[arg(
460
-
help = "The amount to splice into the channel, e.g. 50sat or 50000msat, must be a whole sat amount, cannot send msats on-chain."
456
+
help = "The amount to splice into the channel, e.g. 50sat or 50000msat, or 'all' to use all available on-chain funds. Exact amounts must be a whole sat amount."
461
457
)]
462
-
splice_amount:Amount,
458
+
splice_amount:AmountOrAll,
463
459
},
464
460
#[command(about = "Decrease the channel balance by the given amount")]
0 commit comments