Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

config: fix typo in error message #2268

Nick Craig-Wood24980d712386
diff --git a/fs/config/config.go b/fs/config/config.go
index f2e2053b6..663b5944c 100644
--- a/fs/config/config.go
+++ b/fs/config/config.go
@@ -151,7 +151,7 @@ func makeConfigPath() string {
// Default to ./.rclone.conf (current working directory)
fs.Errorf(nil, "Couldn't find home directory or read HOME or XDG_CONFIG_HOME environment variables.")
fs.Errorf(nil, "Defaulting to storing config in current directory.")
- fs.Errorf(nil, "Use -config flag to workaround.")
+ fs.Errorf(nil, "Use --config flag to workaround.")
fs.Errorf(nil, "Error was: %v", err)
return hiddenConfigFileName
}