update godep for github.com/spf13/pflag

This commit is contained in:
wu8685
2016-09-22 16:21:09 +08:00
parent ddc884f8e4
commit 6140ab26d0
21 changed files with 215 additions and 104 deletions

View File

@@ -1,9 +1,6 @@
package pflag
import (
"fmt"
"strconv"
)
import "strconv"
// optional interface to indicate boolean flags that can be
// supplied without "=value" text
@@ -30,7 +27,7 @@ func (b *boolValue) Type() string {
return "bool"
}
func (b *boolValue) String() string { return fmt.Sprintf("%v", *b) }
func (b *boolValue) String() string { return strconv.FormatBool(bool(*b)) }
func (b *boolValue) IsBoolFlag() bool { return true }