mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 11:15:35 -05:00
improve help message for tiny-httpd-vfs-pack
This commit is contained in:
parent
18780db853
commit
38680e080c
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
--url=foo/bar,https://something.com/ to add an entry foo/bar in the VFS
|
||||||
with the content of the URL (downloaded using curl).
|
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
|
-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
|
and is processed as previously. If actual_path looks like an http(s) URL
|
||||||
it is treated as such.
|
it is treated as such.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue