summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-04-13 12:18:46 +0200
committerJakob Unterwurzacher2020-04-13 14:54:04 +0200
commit210db84e200671d6eee195f47eaf5c696cca089e (patch)
tree5edfe0882238fe4d91ece71ab8900038de6da5b9 /main.go
parent488111ce390218806fca933b89279b766f7ff49c (diff)
speed: show gocryptfs version
Output now looks like this $ gocryptfs -speed gocryptfs v1.7.1-38-gbe3b9df-dirty; go-fuse v2.0.2-57-gd1cfa17; 2020-04-13 go1.13.6 linux/amd64 AES-GCM-256-OpenSSL 607.90 MB/s AES-GCM-256-Go 920.75 MB/s (selected in auto mode) AES-SIV-512-Go 169.85 MB/s XChaCha20-Poly1305-Go 794.30 MB/s and has go version and arch information, which is important when comparing results.
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 76cd275..8150499 100644
--- a/main.go
+++ b/main.go
@@ -170,6 +170,7 @@ func main() {
}
// "-speed"
if args.speed {
+ printVersion()
speed.Run()
os.Exit(0)
}