summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.go b/main.go
index b29b2f6..6467b4b 100644
--- a/main.go
+++ b/main.go
@@ -151,8 +151,8 @@ func changePassword(args *argContainer) {
// printVersion - print a version string like
// "gocryptfs v0.3.1-31-g6736212-dirty; on-disk format 2"
func printVersion() {
- fmt.Printf("%s %s; on-disk format %d; go-fuse %s\n",
- tlog.ProgramName, GitVersion, contentenc.CurrentVersion, GitVersionFuse)
+ fmt.Printf("%s %s; go-fuse %s; %s\n",
+ tlog.ProgramName, GitVersion, GitVersionFuse, runtime.Version())
}
func main() {
@@ -218,6 +218,7 @@ func main() {
// "-v"
if args.version {
tlog.Debug.Printf("openssl=%v\n", args.openssl)
+ tlog.Debug.Printf("on-disk format %d\n", contentenc.CurrentVersion)
printVersion()
os.Exit(0)
}