rc: fix formatting in docs

This commit is contained in:
Nick Craig-Wood 2018-08-07 21:05:21 +01:00
parent 687477b34d
commit e979cd62c1
2 changed files with 8 additions and 2 deletions

View file

@ -126,7 +126,9 @@ This returns all available stats
rclone rc core/stats rclone rc core/stats
Returns following values: Returns the following values:
```
{ {
"speed": average speed in bytes/sec since start of the process, "speed": average speed in bytes/sec since start of the process,
"bytes": total transferred bytes since the start of the process, "bytes": total transferred bytes since the start of the process,
@ -151,6 +153,7 @@ Returns following values:
"checking": an array of names of currently active file checks "checking": an array of names of currently active file checks
[] []
} }
```
Values for "transferring", "checking" and "lastError" are only assigned if data is available. Values for "transferring", "checking" and "lastError" are only assigned if data is available.
The value for "eta" is null if an eta cannot be determined. The value for "eta" is null if an eta cannot be determined.

View file

@ -29,7 +29,9 @@ This returns all available stats
rclone rc core/stats rclone rc core/stats
Returns following values: Returns the following values:
` + "```" + `
{ {
"speed": average speed in bytes/sec since start of the process, "speed": average speed in bytes/sec since start of the process,
"bytes": total transferred bytes since the start of the process, "bytes": total transferred bytes since the start of the process,
@ -54,6 +56,7 @@ Returns following values:
"checking": an array of names of currently active file checks "checking": an array of names of currently active file checks
[] []
} }
` + "```" + `
Values for "transferring", "checking" and "lastError" are only assigned if data is available. Values for "transferring", "checking" and "lastError" are only assigned if data is available.
The value for "eta" is null if an eta cannot be determined. The value for "eta" is null if an eta cannot be determined.
`, `,