startup version
This commit is contained in:
parent
d9c3eac4b6
commit
2704149a16
@ -2,6 +2,7 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
@ -19,6 +20,8 @@ var (
|
|||||||
func main() {
|
func main() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
fmt.Printf("backup (%s)\n", version)
|
||||||
|
|
||||||
err := cfg.Load()
|
err := cfg.Load()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("Cannot load config (%s)", err)
|
log.Printf("Cannot load config (%s)", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user