mirror of
https://github.com/minio/mc.git
synced 2025-11-13 12:22:45 +03:00
better args/url parssing
This commit is contained in:
@@ -22,9 +22,15 @@ var (
|
||||
// fs
|
||||
errFskey = errors.New("Key is needed to get the file")
|
||||
|
||||
// url
|
||||
errEmptyURL = errors.New("URL is empty")
|
||||
|
||||
// url
|
||||
errInvalidScheme = errors.New("Invalid URL scheme only http{s}:// supported")
|
||||
|
||||
// url
|
||||
errInvalidURL = errors.New("Invalid URL")
|
||||
|
||||
// host
|
||||
errHostname = errors.New("No hostname specified")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user