From 2704149a16bb01856a970c47a3022e9e5fb94795 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 14 Nov 2021 12:23:53 +0800 Subject: [PATCH] startup version --- backup.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backup.go b/backup.go index 32589bd..fefe39a 100644 --- a/backup.go +++ b/backup.go @@ -2,6 +2,7 @@ package main import ( "flag" + "fmt" "log" "os" ) @@ -19,6 +20,8 @@ var ( func main() { flag.Parse() + fmt.Printf("backup (%s)\n", version) + err := cfg.Load() if err != nil { log.Printf("Cannot load config (%s)", err)