aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt/flags.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/fscrypt/flags.go')
-rw-r--r--cmd/fscrypt/flags.go2
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))