diff options
| author | Joe Richey joerichey@google.com <joerichey@google.com> | 2017-07-17 23:18:49 -0700 |
|---|---|---|
| committer | Joe Richey joerichey@google.com <joerichey@google.com> | 2017-07-17 23:20:51 -0700 |
| commit | e4cb9c6cef2d75cdc5ca62777d2fa0e44f813fd4 (patch) | |
| tree | 76274a37a1c3141d4fa9f35ffb943c1fd5f28871 /cmd/fscrypt/flags.go | |
| parent | 744dbff34969ef612b219cde5b8f116f3ae3d26f (diff) | |
cmd/fscrypt: more nits to fix "make lint"
Diffstat (limited to 'cmd/fscrypt/flags.go')
| -rw-r--r-- | cmd/fscrypt/flags.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fscrypt/flags.go b/cmd/fscrypt/flags.go index 16412bf..d54a3bd 100644 --- a/cmd/fscrypt/flags.go +++ b/cmd/fscrypt/flags.go @@ -51,7 +51,7 @@ func (b *boolFlag) GetArgName() string { return "" } func (b *boolFlag) GetUsage() string { return b.Usage } func (b *boolFlag) String() string { - if b.Default == false { + if !b.Default { return longDisplay(b) } return longDisplay(b, strconv.FormatBool(b.Default)) |