You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
428 B
Rust
15 lines
428 B
Rust
#[derive(structopt::StructOpt, Debug)]
|
|
pub struct Options {
|
|
/// Run the swap as Alice.
|
|
#[structopt(long = "as-alice")]
|
|
pub as_alice: bool,
|
|
|
|
/// Run the swap as Bob and try to swap this many XMR (in piconero).
|
|
#[structopt(long = "picos")]
|
|
pub piconeros: Option<u64>,
|
|
|
|
/// Run the swap as Bob and try to swap this many BTC (in satoshi).
|
|
#[structopt(long = "sats")]
|
|
pub satoshis: Option<u64>,
|
|
}
|