From a15f50254a93b9caaf317714942f6e8e47b34273 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Tue, 13 Oct 2020 17:55:21 -0400 Subject: [PATCH] docs: grammar: if, then Signed-off-by: Josh Soref --- backend/s3/s3.go | 2 +- cmd/rc/rc.go | 2 +- docs/content/flags.md | 2 +- docs/content/s3.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/s3/s3.go b/backend/s3/s3.go index 17bcfc30e..0bec57c27 100644 --- a/backend/s3/s3.go +++ b/backend/s3/s3.go @@ -1168,7 +1168,7 @@ In Ceph, this can be increased with the "rgw list buckets max chunk" option. Advanced: true, }, { Name: "no_check_bucket", - Help: `If set don't attempt to check the bucket exists or create it + Help: `If set, don't attempt to check the bucket exists or create it This can be useful when trying to minimise the number of transactions rclone does if you know the bucket exists already. diff --git a/cmd/rc/rc.go b/cmd/rc/rc.go index 6cf204a56..cc4792143 100644 --- a/cmd/rc/rc.go +++ b/cmd/rc/rc.go @@ -34,7 +34,7 @@ var ( func init() { cmd.Root.AddCommand(commandDefinition) cmdFlags := commandDefinition.Flags() - flags.BoolVarP(cmdFlags, &noOutput, "no-output", "", noOutput, "If set don't output the JSON result.") + flags.BoolVarP(cmdFlags, &noOutput, "no-output", "", noOutput, "If set, don't output the JSON result.") flags.StringVarP(cmdFlags, &url, "url", "", url, "URL to connect to rclone remote control.") flags.StringVarP(cmdFlags, &jsonInput, "json", "", jsonInput, "Input JSON - use instead of key=value args.") flags.StringVarP(cmdFlags, &authUser, "user", "", "", "Username to use to rclone remote control.") diff --git a/docs/content/flags.md b/docs/content/flags.md index eb6abaa9a..c1d6bba3d 100755 --- a/docs/content/flags.md +++ b/docs/content/flags.md @@ -420,7 +420,7 @@ and may be set in the config file. --s3-max-upload-parts int Maximum number of parts in a multipart upload. (default 10000) --s3-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed. (default 1m0s) --s3-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool. - --s3-no-check-bucket If set don't attempt to check the bucket exists or create it + --s3-no-check-bucket If set, don't attempt to check the bucket exists or create it --s3-profile string Profile to use in the shared credentials file --s3-provider string Choose your S3 provider. --s3-region string Region to connect to. diff --git a/docs/content/s3.md b/docs/content/s3.md index a384711d9..35fac30fe 100644 --- a/docs/content/s3.md +++ b/docs/content/s3.md @@ -1411,7 +1411,7 @@ In Ceph, this can be increased with the "rgw list buckets max chunk" option. #### --s3-no-check-bucket -If set don't attempt to check the bucket exists or create it +If set, don't attempt to check the bucket exists or create it This can be useful when trying to minimise the number of transactions rclone does if you know the bucket exists already.