From 6cac98d2ce046fe7d1dc082780db3b332955a721 Mon Sep 17 00:00:00 2001 From: Will Gunn Date: Wed, 10 Jan 2018 18:44:25 -0500 Subject: [PATCH] docs: Add documentation for --stats-file-name-length Missed adding documentation in original PR https://github.com/ncw/rclone/pull/1951 Fixes comment on #1206 --- docs/content/docs.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/content/docs.md b/docs/content/docs.md index fa9f7c385..c979fe2e6 100644 --- a/docs/content/docs.md +++ b/docs/content/docs.md @@ -592,12 +592,18 @@ show at default log level `NOTICE`. Use `--stats-log-level NOTICE` or `-v` to make them show. See the [Logging section](#logging) for more info on log levels. +### --stats-file-name-length integer ### +By default, the `--stats` output will truncate file names and paths longer +than 40 characters. This is equivalent to providing +`--stats-file-name-length 40`. Use `--stats-file-name-length 0` to disable +any truncation of file names printed by stats. + ### --stats-log-level string ### Log level to show `--stats` output at. This can be `DEBUG`, `INFO`, `NOTICE`, or `ERROR`. The default is `INFO`. This means at the default level of logging which is `NOTICE` the stats won't show - if -you want them to then use `-stats-log-level NOTICE`. See the [Logging +you want them to then use `--stats-log-level NOTICE`. See the [Logging section](#logging) for more info on log levels. ### --stats-unit=bits|bytes ###