From 7aad799b157db90398dcd9d8e4c6008b723ccdae Mon Sep 17 00:00:00 2001 From: Seednode Date: Sun, 5 Feb 2023 14:42:31 -0600 Subject: [PATCH] Updated entry for --stats, which replaces -d|--debug --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 502eb0e..44a843e 100644 --- a/README.md +++ b/README.md @@ -72,19 +72,19 @@ This will slightly increase the delay before the application begins responding t If any `include=`/`exclude=` filters are specified in a given request, the cache will be bypassed for that specific request. -The cache can be regenerated at any time by accessing the `/_/clear_cache` endpoint. +The cache can be regenerated at any time by accessing the `/_/clear_cache` endpoint.f If `--cache-file` is set, the cache will be loaded from the specified file on start, and written to the file whenever it is re-generated. -## Debug +## Statistics -If the `-d|--debug` flag is passed, an additional endpoint, `/_/stats`, is registered. +If the `--stats` flag is passed, an additional endpoint, `/_/stats`, is registered. When accessed, this endpoint returns a JSON document listing every file served, along with the number of times it has been served, its filesize, and timestamps of when it was served. ## Usage output ``` -sage: +Usage: roulette [path]... [flags] roulette [command]