aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJoseph Richey <joerichey94@gmail.com>2018-02-11 23:38:19 -0800
committerJoseph Richey <joerichey94@gmail.com>2018-02-11 23:38:19 -0800
commit1f508cc30f3c1caadea5c648158880eacfe9b113 (patch)
tree6278f1e3943bfd7e7451802ea7a3269d6a45d1b8 /cmd
parent3d99996924f2ee24581e8e557f3aa05ed7822e99 (diff)
cmd/fscrypt: don't show build time if not set
Diffstat (limited to 'cmd')
-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}}