mirror of
https://github.com/minio/mc.git
synced 2025-11-12 01:02:26 +03:00
committed by
Nitish Tiwari
parent
a63a1f7eca
commit
dfffc1e7cc
@@ -69,12 +69,13 @@ var (
|
||||
}
|
||||
|
||||
errOverWriteNotAllowed = func(URL string) *probe.Error {
|
||||
return probe.NewError(errors.New("Overwrite not allowed for `" + URL + "`. Use `--force` to override this behavior."))
|
||||
return probe.NewError(errors.New("Overwrite not allowed for `" + URL + "`. Use `--overwrite` to override this behavior."))
|
||||
}
|
||||
|
||||
errDeleteNotAllowed = func(URL string) *probe.Error {
|
||||
return probe.NewError(errors.New("Delete not allowed for `" + URL + "`. Use `--force` to override this behavior."))
|
||||
return probe.NewError(errors.New("Delete not allowed for `" + URL + "`. Use `--remove` to override this behavior."))
|
||||
}
|
||||
|
||||
errSourceIsDir = func(URL string) *probe.Error {
|
||||
return probe.NewError(errors.New("Source `" + URL + "` is a folder.")).Untrace()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user