import (
"flag"
"fmt"
+ "log"
"os"
- "go.cypherpunks.ru/nncp/v5"
+ "go.cypherpunks.ru/nncp/v7"
)
func usage() {
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 {
# umask: "022"
# Omit progress showing by default
# noprogress: true
+ # Do not use .hdr files
+ # nohdr: true
+
+ # MultiCast Discovery:
+ # List of interfaces where to listen for MCD announcements
+ # mcd-listen: ["em0", "igb1"]
+ # Interfaces and intervals (in seconds) where to send MCD announcements
+ # mcd-send: {em0: 60, igb1: 5}
# Enable notification email sending
# notify: {
# # xx: rx
# # addr: lan
# # when-tx-exists: true
+ # # nock: true
+ # # mcd-ignore: true
# #
# # autotoss: false
# # autotoss-doseen: true