diff cutils/treesum.py @ 159:5c23ad9a3f8f

FIX: Add --mode and --full-mode to the "FLAGS" output
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 07 Jan 2025 12:55:45 +0100
parents d8cdd1985d43
children 432fe71300d3
line wrap: on
line diff
--- a/cutils/treesum.py	Tue Jan 07 12:48:37 2025 +0100
+++ b/cutils/treesum.py	Tue Jan 07 12:55:45 2025 +0100
@@ -279,6 +279,10 @@
 
     # Note given non-default flags that are relevant for directory traversal
     flags = []
+    if with_metadata_full_mode:
+        flags.append("with-metadata-fullmode")
+    elif with_metadata_mode:
+        flags.append("with-metadata-mode")
     if with_metadata_mtime:
         flags.append("with-metadata-mtime")
     if handle_root_logical: