mirror of
https://github.com/minio/mc.git
synced 2025-11-10 13:42:32 +03:00
ui: consistenly use "flag" instead of "option" in error messages (#2325)
This commit is contained in:
@@ -127,7 +127,7 @@ func checkCopySyntaxTypeC(srcURLs []string, tgtURL string, isRecursive bool) {
|
||||
}
|
||||
|
||||
if srcContent.Type.IsDir() && !isRecursive {
|
||||
fatalIf(errInvalidArgument().Trace(srcURL), "To copy a folder requires --recursive option.")
|
||||
fatalIf(errInvalidArgument().Trace(srcURL), "To copy a folder requires --recursive flag.")
|
||||
}
|
||||
|
||||
// Check target.
|
||||
|
||||
Reference in New Issue
Block a user