Updated readme for new shorter arguments
This commit is contained in:
parent
065cb275ae
commit
068850b27f
|
@ -155,8 +155,7 @@ Flags:
|
||||||
--code-theme string theme for source code syntax highlighting (default "solarized-dark256")
|
--code-theme string theme for source code syntax highlighting (default "solarized-dark256")
|
||||||
--concurrency int maximum concurrency for scan threads (default 1024)
|
--concurrency int maximum concurrency for scan threads (default 1024)
|
||||||
-d, --debug log file permission errors instead of simply skipping the files
|
-d, --debug log file permission errors instead of simply skipping the files
|
||||||
--disable-buttons disable first/prev/next/last buttons
|
--error-exit shut down webserver on error, instead of just printing error
|
||||||
--exit-on-error shut down webserver on error, instead of just printing error
|
|
||||||
--fallback serve files as application/octet-stream if no matching format is registered
|
--fallback serve files as application/octet-stream if no matching format is registered
|
||||||
-f, --filter enable filtering
|
-f, --filter enable filtering
|
||||||
--flash enable support for shockwave flash files (via ruffle.rs)
|
--flash enable support for shockwave flash files (via ruffle.rs)
|
||||||
|
@ -167,8 +166,9 @@ Flags:
|
||||||
-i, --index generate index of supported file paths at startup
|
-i, --index generate index of supported file paths at startup
|
||||||
--index-file string path to optional persistent index file
|
--index-file string path to optional persistent index file
|
||||||
--index-interval string interval at which to regenerate index (e.g. "5m" or "1h")
|
--index-interval string interval at which to regenerate index (e.g. "5m" or "1h")
|
||||||
--max-file-count int skip directories with file counts above this value (default 2147483647)
|
--max-files int skip directories with file counts above this value (default 2147483647)
|
||||||
--min-file-count int skip directories with file counts below this value
|
--min-files int skip directories with file counts below this value
|
||||||
|
--no-buttons disable first/prev/next/last buttons
|
||||||
-p, --port int port to listen on (default 8080)
|
-p, --port int port to listen on (default 8080)
|
||||||
--prefix string root path for http handlers (for reverse proxying) (default "/")
|
--prefix string root path for http handlers (for reverse proxying) (default "/")
|
||||||
--profile register net/http/pprof handlers
|
--profile register net/http/pprof handlers
|
||||||
|
|
Loading…
Reference in New Issue