Commit 305175d7 authored by Steven Allen's avatar Steven Allen

update deps (for go-ipfs-util update)

Also, replace DefaultVal with Default to match the change in go-ipfs-cmdkit.
parent d48f0a03
...@@ -235,7 +235,7 @@ func generateSynopsis(cmd *cmds.Command, path string) string { ...@@ -235,7 +235,7 @@ func generateSynopsis(cmd *cmds.Command, path string) string {
if len(n) > 1 { if len(n) > 1 {
pre = "--" pre = "--"
} }
if opt.Type() == cmdkit.Bool && opt.DefaultVal() == true { if opt.Type() == cmdkit.Bool && opt.Default() == true {
pre = "--" pre = "--"
sopt = fmt.Sprintf("%s%s=false", pre, n) sopt = fmt.Sprintf("%s%s=false", pre, n)
break break
......
...@@ -20,14 +20,14 @@ ...@@ -20,14 +20,14 @@
}, },
{ {
"author": "whyrusleeping", "author": "whyrusleeping",
"hash": "QmWbjfz3u6HkAdPh34dgPchGbQjob6LXLhAeCGii2TX69n", "hash": "QmSU6eubNdhXjFBJBSksTp8kv8YRub8mGAPv8tVJHmL2EU",
"name": "go-ipfs-util", "name": "go-ipfs-util",
"version": "1.2.4" "version": "1.2.5"
}, },
{ {
"hash": "QmSNbH2A1evCCbJSDC6u3RV3GGDhgu6pRGbXHvrN89tMKf", "hash": "QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ",
"name": "go-ipfs-cmdkit", "name": "go-ipfs-cmdkit",
"version": "0.3.3" "version": "0.3.5"
} }
], ],
"gxVersion": "0.10.0", "gxVersion": "0.10.0",
......
...@@ -123,7 +123,7 @@ func (r *request) Option(name string) *cmdkit.OptionValue { ...@@ -123,7 +123,7 @@ func (r *request) Option(name string) *cmdkit.OptionValue {
} }
} }
return &cmdkit.OptionValue{option.DefaultVal(), false, option} return &cmdkit.OptionValue{option.Default(), false, option}
} }
// Options returns a copy of the option map // Options returns a copy of the option map
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment