]> Cypherpunks.ru repositories - nncp.git/commitdiff
Trailing commas in Hjson are unnecessary
authorSergey Matveev <stargrave@stargrave.org>
Mon, 19 Jul 2021 08:03:15 +0000 (11:03 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 19 Jul 2021 08:03:15 +0000 (11:03 +0300)
doc/call.texi
doc/cfg/neigh.texi
doc/usecases.ru.texi
doc/usecases.texi
src/cmd/nncp-cfgnew/main.go

index 83f43ea5fe206e9b4dc36a559b32e91be70d2500..3f9076076fd7fb172dfb10e93510b4ee65894f3a 100644 (file)
@@ -14,7 +14,7 @@ calls: [
 
         autotoss: true
         autotoss-doseen: true
-    },
+    }
     {
         cron: "30 * * * SAT,SUN"
         onlinedeadline: 1800
@@ -22,18 +22,18 @@ calls: [
         nice: NORMAL
         rxrate: 10
         txrate: 20
-    },
+    }
     {
         cron: "0 * * * SAT,SUN"
         xx: rx
         addr: lan
-    },
+    }
     {
         cron: "*/5 * * * * * *"
         when-tx-exists: true
         nock: true
         mcd-ignore: true
-    },
+    }
 ]
 @end verbatim
 
index 53eed465317da22ac9b18f11d17ab42bfdce3169..ababdf911cc7f574fb2139ea9664864afb91c45c 100644 (file)
@@ -32,7 +32,7 @@ neigh: {
     calls: [
       {
         cron: "*/2 * * * *"
-      },
+      }
     ]
   }
   bob: {
index 4b2f17a9a34632e81dc046a73d7b38b59ca99924..860f4013685250d155293f6c4eab4519e917bb72 100644 (file)
@@ -397,20 +397,20 @@ neigh: {
         addr: lan
         nice: MAX
         onlinedeadline: 3600
-      },
+      }
       {
         cron: "*/10 * * * *"
         addr: wan
         nice: PRIORITY
         xx: rx
-      },
+      }
       {
         cron: "*/1 0-7 * * *"
         addr: wan
         nice: BULK
         onlinedeadline: 3600
         maxonlinetime: 3600
-      },
+      }
     ]
   }
 }
index f5b30e377f0b7112c441b22c2d99004b70837b29..f676e890fbfe4b33240266aec5ecf4e01c4c28f6 100644 (file)
@@ -375,20 +375,20 @@ neigh: {
         addr: lan
         nice: MAX
         onlinedeadline: 3600
-      },
+      }
       {
         cron: "*/10 * * * *"
         addr: wan
         nice: PRIORITY
         xx: rx
-      },
+      }
       {
         cron: "*/1 0-7 * * *"
         addr: wan
         nice: BULK
         onlinedeadline: 3600
         maxonlinetime: 3600
-      },
+      }
     ]
   }
 }
index 74f9ae6d430efe84e8829aa8b43755762dbe56c0..30bdaa9077270f686ae0957b4e360424d0808542 100644 (file)
@@ -303,7 +303,7 @@ func main() {
     #   #     autotoss-nofreq: true
     #   #     autotoss-noexec: true
     #   #     autotoss-notrns: true
-    #   #   },
+    #   #   }
     #   # ]
     # }
   }