From 4a84505a83289921fd149411efce54f2ee180b02 Mon Sep 17 00:00:00 2001 From: rkfg Date: Tue, 6 Sep 2022 15:45:40 +0300 Subject: [PATCH] Add short option for ratio --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b43d99b..353894b 100644 --- a/main.go +++ b/main.go @@ -29,7 +29,7 @@ var params struct { ToPerc int64 `long:"pto" description:"channels with less than this outbound liquidity percentage will be considered as target channels" json:"pto"` Perc int64 `short:"p" long:"perc" description:"use this value as both pfrom and pto from above" json:"perc"` Amount int64 `short:"a" long:"amount" description:"amount to rebalance" json:"amount"` - EconRatio float64 `long:"econ-ratio" description:"economical ratio for fee limit calculation as a multiple of target channel fee (for example, 0.5 means you want to pay at max half the fee you might earn for routing out of the target channel)" json:"econ_ratio"` + EconRatio float64 `short:"r" long:"econ-ratio" description:"economical ratio for fee limit calculation as a multiple of target channel fee (for example, 0.5 means you want to pay at max half the fee you might earn for routing out of the target channel)" json:"econ_ratio"` ProbeSteps int `short:"b" long:"probe-steps" description:"if the payment fails at the last hop try to probe lower amount using this many steps" json:"probe_steps"` MinAmount int64 `long:"min-amount" description:"if probing is enabled this will be the minimum amount to try" json:"min_amount"` ExcludeChannelsIn []uint64 `short:"i" long:"exclude-channel-in" description:"don't use this channel as incoming (can be specified multiple times)" json:"exclude_channels_in"`