Update the application name for --version print

swap --version
xmr-btc-swap 0.3.0

asb --version
xmr-btc-asb 0.3.0
This commit is contained in:
Daniel Karzel 2021-03-18 11:25:31 +11:00
parent 07542d75ac
commit 105e291e67
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@ use bitcoin::Denomination;
use std::path::PathBuf;
#[derive(structopt::StructOpt, Debug)]
#[structopt(
name = "asb",
about = "Automated Swap Backend for swapping XMR for BTC"
)]
pub struct Arguments {
#[structopt(
long = "config",

View File

@ -17,7 +17,7 @@ pub const DEFAULT_ELECTRUM_HTTP_URL: &str = "https://blockstream.info/testnet/ap
const DEFAULT_ELECTRUM_RPC_URL: &str = "ssl://electrum.blockstream.info:60002";
#[derive(structopt::StructOpt, Debug)]
#[structopt(name = "xmr-btc-swap", about = "Atomically swap BTC for XMR")]
#[structopt(name = "swap", about = "CLI for swapping BTC for XMR")]
pub struct Arguments {
#[structopt(
long = "--data-dir",