diff --git a/README.md b/README.md index ff53a2c..45297ad 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,17 @@ If the `-d|--debug` flag is passed, two additional endpoints—`/html` and `/jso When accessed, these endpoints return the contents of the index, in HTML and JSON formats respectively. This can prove useful when confirming whether the index is generated successfully, or whether a given file is in the index. +## Roulette +If the `--russian` flag is passed, everything functions exactly as you would expect. + +That is, files will be deleted after being served. This is not a joke, you *will* lose data. + +This uses `os.Remove()` and checks to ensure the specified file is inside one of the paths passed to `roulette`. + +That said, this has not been tested to any real extent, so only pass this flag on systems you don't care about. + +Enjoy! + ## Usage output ``` Serves random images from the specified directories.