config+lnd+lncli: add commit back to version string

This commit is contained in:
Oliver Gugger
2020-04-14 11:13:11 +02:00
parent ec5bfd3df7
commit 1e3b0672d7
3 changed files with 6 additions and 4 deletions

View File

@ -205,7 +205,7 @@ func extractPathArgs(ctx *cli.Context) (string, string, error) {
func main() {
app := cli.NewApp()
app.Name = "lncli"
app.Version = build.Version()
app.Version = build.Version() + " commit=" + build.Commit
app.Usage = "control plane for your Lightning Network Daemon (lnd)"
app.Flags = []cli.Flag{
cli.StringFlag{