]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cmd/nncp-log/main.go
Raise copyright years
[nncp.git] / src / cmd / nncp-log / main.go
index be1385611175ff49740d6b7bff9f73d4488f65ad..dbe03b8d20bbbba943ea29ec6ddf7031f8bfa65b 100644 (file)
@@ -1,6 +1,6 @@
 /*
 NNCP -- Node to Node copy, utilities for store-and-forward data exchange
-Copyright (C) 2016-2021 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2016-2022 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@ import (
        "log"
        "os"
 
-       "go.cypherpunks.ru/nncp/v5"
+       "go.cypherpunks.ru/nncp/v8"
        "go.cypherpunks.ru/recfile"
 )
 
@@ -44,6 +44,7 @@ func main() {
                version  = flag.Bool("version", false, "Print version information")
                warranty = flag.Bool("warranty", false, "Print warranty information")
        )
+       log.SetFlags(log.Lshortfile)
        flag.Usage = usage
        flag.Parse()
        if *warranty {