From c2e513ecd008d4e9337f84bb487597aab531f6d2 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Fri, 15 May 2020 12:18:09 +0200 Subject: [PATCH] loopd: remove short flags to avoid collision --- loopd/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loopd/config.go b/loopd/config.go index 4c873e1..36fc459 100644 --- a/loopd/config.go +++ b/loopd/config.go @@ -29,7 +29,7 @@ type lndConfig struct { type viewParameters struct{} type Config struct { - ShowVersion bool `short:"V" long:"version" description:"Display version information and exit"` + ShowVersion bool `long:"version" description:"Display version information and exit"` Insecure bool `long:"insecure" description:"disable tls"` Network string `long:"network" description:"network to run on" choice:"regtest" choice:"testnet" choice:"mainnet" choice:"simnet"` SwapServer string `long:"swapserver" description:"swap server address host:port"` @@ -42,7 +42,7 @@ type Config struct { MaxLogFiles int `long:"maxlogfiles" description:"Maximum logfiles to keep (0 for no rotation)"` MaxLogFileSize int `long:"maxlogfilesize" description:"Maximum logfile size in MB"` - DebugLevel string `short:"d" long:"debuglevel" description:"Logging level for all subsystems {trace, debug, info, warn, error, critical} -- You may also specify =,=,... to set the log level for individual subsystems -- Use show to list available subsystems"` + DebugLevel string `long:"debuglevel" description:"Logging level for all subsystems {trace, debug, info, warn, error, critical} -- You may also specify =,=,... to set the log level for individual subsystems -- Use show to list available subsystems"` MaxLSATCost uint32 `long:"maxlsatcost" description:"Maximum cost in satoshis that loopd is going to pay for an LSAT token automatically. Does not include routing fees."` MaxLSATFee uint32 `long:"maxlsatfee" description:"Maximum routing fee in satoshis that we are willing to pay while paying for an LSAT token."`