X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcmd%2Fnncp-log%2Fmain.go;h=dbe03b8d20bbbba943ea29ec6ddf7031f8bfa65b;hb=0367cce2741e1ce6a89a49fd5c4e9df6005c9744;hp=e98f0b8228ea895a5475803a7383ae4c48dca666;hpb=28344f84b8a4543758436739360446509ead86ce;p=nncp.git diff --git a/src/cmd/nncp-log/main.go b/src/cmd/nncp-log/main.go index e98f0b8..dbe03b8 100644 --- a/src/cmd/nncp-log/main.go +++ b/src/cmd/nncp-log/main.go @@ -1,6 +1,6 @@ /* NNCP -- Node to Node copy, utilities for store-and-forward data exchange -Copyright (C) 2016-2021 Sergey Matveev +Copyright (C) 2016-2022 Sergey Matveev 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/v6" + "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 {