startup version

This commit is contained in:
shoopea 2021-11-14 12:23:53 +08:00
parent d9c3eac4b6
commit 2704149a16

View File

@ -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)