mirror of
https://github.com/lightninglabs/loop
synced 2024-11-09 19:10:47 +00:00
cmd/loop: use loop.Version() for loop cli version
This commit is contained in:
parent
fff001fd2e
commit
f089ff3484
@ -9,6 +9,7 @@ import (
|
|||||||
|
|
||||||
"github.com/golang/protobuf/jsonpb"
|
"github.com/golang/protobuf/jsonpb"
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
"github.com/lightninglabs/loop"
|
||||||
"github.com/lightninglabs/loop/looprpc"
|
"github.com/lightninglabs/loop/looprpc"
|
||||||
"github.com/lightninglabs/loop/swap"
|
"github.com/lightninglabs/loop/swap"
|
||||||
|
|
||||||
@ -50,7 +51,7 @@ func fatal(err error) {
|
|||||||
func main() {
|
func main() {
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
|
|
||||||
app.Version = "0.0.1"
|
app.Version = loop.Version()
|
||||||
app.Name = "loop"
|
app.Name = "loop"
|
||||||
app.Usage = "control plane for your loopd"
|
app.Usage = "control plane for your loopd"
|
||||||
app.Flags = []cli.Flag{
|
app.Flags = []cli.Flag{
|
||||||
|
Loading…
Reference in New Issue
Block a user