1
0
mirror of https://github.com/rclone/rclone.git synced 2026-02-18 10:23:31 +00:00

config: fix typo in error message #2268

This commit is contained in:
Nick Craig-Wood
2018-04-21 22:49:30 +01:00
parent 870c58f7f8
commit 24980d7123

View File

@@ -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
}