From 38680e080c7ef25c5f1aa4a9375e494a3963257b Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Thu, 21 Sep 2023 13:01:30 -0400 Subject: [PATCH] improve help message for tiny-httpd-vfs-pack --- src/bin/vfs_pack.ml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/vfs_pack.ml b/src/bin/vfs_pack.ml index 03a19d50..8eacfeff 100644 --- a/src/bin/vfs_pack.ml +++ b/src/bin/vfs_pack.ml @@ -117,6 +117,10 @@ Each entry in the VFS can be added from the command line using: --url=foo/bar,https://something.com/ to add an entry foo/bar in the VFS with the content of the URL (downloaded using curl). +--mirror=prefix,some/dir/ copies the entire directory into the VFS + under prefix path "prefix". If prefix is empty, the directory is copied + directly into the root. + -F=file reads lines from file. Each line is a pair vfs_path,actual_path and is processed as previously. If actual_path looks like an http(s) URL it is treated as such.