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'. # 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]] [[projects]]
branch = "master" branch = "master"
name = "github.com/dustin/go-humanize" name = "github.com/dustin/go-humanize"
@ -67,6 +61,12 @@
revision = "f006c2ac4710855cf0f916dd6b77acf6b048dc6e" revision = "f006c2ac4710855cf0f916dd6b77acf6b048dc6e"
version = "v1.0.3" version = "v1.0.3"
[[projects]]
name = "github.com/urfave/cli"
packages = ["."]
revision = "cfb38830724cc34fedffe9a2a29fb54fa9169cd1"
version = "v1.20.0"
[[projects]] [[projects]]
name = "github.com/yudai/gotty" name = "github.com/yudai/gotty"
packages = ["pkg/homedir"] packages = ["pkg/homedir"]
@ -106,6 +106,6 @@
[solve-meta] [solve-meta]
analyzer-name = "dep" analyzer-name = "dep"
analyzer-version = 1 analyzer-version = 1
inputs-digest = "8ee0066f90aab988cd1553eedcde5f62c9d2a9d3c18d2a4ea0a57a85df4b2eab" inputs-digest = "f8ef1cfe7bc4581e86cff48f7b1d070246e97b9d49fcf6d30a4421e5b3bfaf75"
solver-name = "gps-cdcl" solver-name = "gps-cdcl"
solver-version = 1 solver-version = 1

View File

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

View File

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