use newer version cli

This commit is contained in:
smileboywtu 2018-02-09 19:48:44 +08:00 committed by Zack Scholl
parent 97857ff4c2
commit d60d81759f
45 changed files with 10 additions and 10 deletions

14
Gopkg.lock generated
View File

@ -1,12 +1,6 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
name = "github.com/codegangsta/cli"
packages = ["."]
revision = "cfb38830724cc34fedffe9a2a29fb54fa9169cd1"
version = "v1.20.0"
[[projects]]
branch = "master"
name = "github.com/dustin/go-humanize"
@ -67,6 +61,12 @@
revision = "f006c2ac4710855cf0f916dd6b77acf6b048dc6e"
version = "v1.0.3"
[[projects]]
name = "github.com/urfave/cli"
packages = ["."]
revision = "cfb38830724cc34fedffe9a2a29fb54fa9169cd1"
version = "v1.20.0"
[[projects]]
name = "github.com/yudai/gotty"
packages = ["pkg/homedir"]
@ -106,6 +106,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "8ee0066f90aab988cd1553eedcde5f62c9d2a9d3c18d2a4ea0a57a85df4b2eab"
inputs-digest = "f8ef1cfe7bc4581e86cff48f7b1d070246e97b9d49fcf6d30a4421e5b3bfaf75"
solver-name = "gps-cdcl"
solver-version = 1

View File

@ -7,7 +7,7 @@ import (
"reflect"
"strings"
"github.com/codegangsta/cli"
"github.com/urfave/cli"
"github.com/fatih/structs"
"github.com/yudai/hcl"

View File

@ -5,7 +5,7 @@ import (
"fmt"
"os"
"strings"
"github.com/codegangsta/cli"
"github.com/urfave/cli"
"github.com/yudai/gotty/pkg/homedir"
"github.com/smileboywtu/croc/common"
)
@ -52,7 +52,7 @@ func main() {
if err != nil {
exit(err, 3)
}
app.Flags = append(
cliFlags,
cli.StringFlag{