]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cmd/nncp-cfgnew/main.go
MTH
[nncp.git] / src / cmd / nncp-cfgnew / main.go
index 798f31cdb534f0e893ba495211df0611c3d136b5..f9926010d3d7e5a68d4cda93286314832c7dd715 100644 (file)
@@ -21,9 +21,10 @@ package main
 import (
        "flag"
        "fmt"
+       "log"
        "os"
 
-       "go.cypherpunks.ru/nncp/v5"
+       "go.cypherpunks.ru/nncp/v7"
 )
 
 func usage() {
@@ -38,6 +39,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 {
@@ -104,6 +106,14 @@ func main() {
   # 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: {
@@ -211,6 +221,8 @@ func main() {
     #   #     xx: rx
     #   #     addr: lan
     #   #     when-tx-exists: true
+    #   #     nock: true
+    #   #     mcd-ignore: true
     #   #
     #   #     autotoss: false
     #   #     autotoss-doseen: true