1
mirror of https://github.com/rclone/rclone synced 2024-11-10 08:08:35 +01: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
}