From 7ffab5d998fda4b6e92e7c7b1e91c2410efa335c Mon Sep 17 00:00:00 2001 From: Eric Wolf <19wolf@gmail.com> Date: Wed, 1 Jun 2022 14:00:43 -0400 Subject: [PATCH] docs: clarify use of verbosity environment variable (#6208) RCLONE_VERBOSE does not use a true/false setting, instead using a 0,1,2 setting. --- docs/content/docs.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/content/docs.md b/docs/content/docs.md index 8a072e67a..ac714c0f7 100644 --- a/docs/content/docs.md +++ b/docs/content/docs.md @@ -788,7 +788,9 @@ See `--compare-dest` and `--backup-dir`. ### --dedupe-mode MODE ### -Mode to run dedupe command in. One of `interactive`, `skip`, `first`, `newest`, `oldest`, `rename`. The default is `interactive`. See the dedupe command for more information as to what these options mean. +Mode to run dedupe command in. One of `interactive`, `skip`, `first`, +`newest`, `oldest`, `rename`. The default is `interactive`. +See the dedupe command for more information as to what these options mean. ### --disable FEATURE,FEATURE,... ### @@ -1086,7 +1088,12 @@ have a signal to rotate logs. ### --log-format LIST ### -Comma separated list of log format options. Accepted options are `date`, `time`, `microseconds`, `pid`, `longfile`, `shortfile`, `UTC`. Any other keywords will be silently ignored. `pid` will tag log messages with process identifier which useful with `rclone mount --daemon`. Other accepted options are explained in the [go documentation](https://pkg.go.dev/log#pkg-constants). The default log format is "`date`,`time`". +Comma separated list of log format options. Accepted options are `date`, +`time`, `microseconds`, `pid`, `longfile`, `shortfile`, `UTC`. Any other +keywords will be silently ignored. `pid` will tag log messages with process +identifier which useful with `rclone mount --daemon`. Other accepted +options are explained in the [go documentation](https://pkg.go.dev/log#pkg-constants). +The default log format is "`date`,`time`". ### --log-level LEVEL ### @@ -1867,6 +1874,9 @@ With `-vv` rclone will become very verbose telling you about every file it considers and transfers. Please send bug reports with a log with this setting. +When setting verbosity as an environment variable, use +`RCLONE_VERBOSE=1` or `RCLONE_VERBOSE=2` for `-v` and `-vv` respectively. + ### -V, --version ### Prints the version number @@ -2232,6 +2242,10 @@ override the environment variable setting. Or to always use the trash in drive `--drive-use-trash`, set `RCLONE_DRIVE_USE_TRASH=true`. +Verbosity is slightly different, the environment variable +equivalent of `--verbose` or `-v` is `RCLONE_VERBOSE=1`, +or for `-vv`, `RCLONE_VERBOSE=2`. + The same parser is used for the options and the environment variables so they take exactly the same form.