Bump urfave/cli version

urfave/cli added functionality for generating Fish shell tab-completions
a few releases ago. We bump the dependency version to get access to
this functionality.
This commit is contained in:
Torkel Rogstad
2020-04-26 17:12:16 +02:00
parent 2aef091367
commit c64e9c5286
4 changed files with 24 additions and 15 deletions

View File

@@ -2318,8 +2318,9 @@ var verifyChanBackupCommand = cli.Command{
"from exportchanbackup",
},
cli.StringFlag{
Name: "multi_file",
Usage: "the path to a multi-channel back up file",
Name: "multi_file",
Usage: "the path to a multi-channel back up file",
TakesFile: true,
},
},
Action: actionDecorator(verifyChanBackup),
@@ -2400,8 +2401,9 @@ var restoreChanBackupCommand = cli.Command{
"from exportchanbackup",
},
cli.StringFlag{
Name: "multi_file",
Usage: "the path to a multi-channel back up file",
Name: "multi_file",
Usage: "the path to a multi-channel back up file",
TakesFile: true,
},
},
Action: actionDecorator(restoreChanBackup),

View File

@@ -272,14 +272,16 @@ func main() {
Usage: "The host:port of LN daemon.",
},
cli.StringFlag{
Name: "lnddir",
Value: defaultLndDir,
Usage: "The path to lnd's base directory.",
Name: "lnddir",
Value: defaultLndDir,
Usage: "The path to lnd's base directory.",
TakesFile: true,
},
cli.StringFlag{
Name: "tlscertpath",
Value: defaultTLSCertPath,
Usage: "The path to lnd's TLS certificate.",
Name: "tlscertpath",
Value: defaultTLSCertPath,
Usage: "The path to lnd's TLS certificate.",
TakesFile: true,
},
cli.StringFlag{
Name: "chain, c",
@@ -297,8 +299,9 @@ func main() {
Usage: "Disable macaroon authentication.",
},
cli.StringFlag{
Name: "macaroonpath",
Usage: "The path to macaroon file.",
Name: "macaroonpath",
Usage: "The path to macaroon file.",
TakesFile: true,
},
cli.Int64Flag{
Name: "macaroontimeout",