aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt/strings.go
diff options
context:
space:
mode:
authorJoseph Richey <joerichey@google.com>2018-02-12 00:06:37 -0800
committerGitHub <noreply@github.com>2018-02-12 00:06:37 -0800
commit57c646808e5f5077e60d004661bba4604650012b (patch)
tree1ae1ed02acba2c9beef4a81652d5594c67cf60e6 /cmd/fscrypt/strings.go
parent3d99996924f2ee24581e8e557f3aa05ed7822e99 (diff)
parent69630f37fcebe894b15872148bd8b2496806b60c (diff)
Merge pull request #87 from google/cleanup
Minor fixes and cleanup
Diffstat (limited to 'cmd/fscrypt/strings.go')
-rw-r--r--cmd/fscrypt/strings.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fscrypt/strings.go b/cmd/fscrypt/strings.go
index fb79c38..c680d03 100644
--- a/cmd/fscrypt/strings.go
+++ b/cmd/fscrypt/strings.go
@@ -110,7 +110,7 @@ Options:
{{if .Version}}Version:
` + indent + `{{.Version}}
-{{end}}{{if .Compiled}}Compiled:
+{{end}}{{if not .Compiled.IsZero}}Compiled:
` + indent + `{{.Compiled}}
{{end}}{{if len .Authors}}Author{{with $length := len .Authors}}{{if ne 1 $length}}s{{end}}{{end}}:{{range .Authors}}