A few more tweaks.
[rsync.git] / support / json-rsync-version
index 81a8c8de297e3e71ea6c5e90bfb60525f83c2cab..6f083baea04a037ff01e391662603c6be2a5092d 100755 (executable)
@@ -49,6 +49,9 @@ def main():
             sect_name = line.strip(' :').replace(' ', '_').lower()
             info[sect_name] = [ ]
             saw_comma = False
+    for chk in 'capabilities optimizations'.split():
+        if chk not in info:
+            info[chk] = { }
     for chk in 'checksum_list compress_list daemon_auth_list'.split():
         if chk not in info:
             info[chk] = [ ]