]> wimlib.net Git - wimlib/blobdiff - src/modify.c
--threads option and stream writing progress
[wimlib] / src / modify.c
index 7fc1a6cfe4f21eca877a581b0b5601a9a4aa3d85..8fb481dc219caa4ea0584e41cdc8947f389d3ce2 100644 (file)
@@ -968,6 +968,9 @@ int do_add_image(WIMStruct *w, const char *dir, const char *name,
        sd->refcnt = 1;
 
        DEBUG("Building dentry tree.");
+       if (flags & WIMLIB_ADD_IMAGE_FLAG_SHOW_PROGRESS) {
+               printf("Scanning `%s'...\n", dir);
+       }
        ret = (*capture_tree)(&root_dentry, dir, w->lookup_table, sd,
                              &config, flags | WIMLIB_ADD_IMAGE_FLAG_ROOT,
                              extra_arg);