1
0
mirror of https://github.com/restic/restic.git synced 2024-06-30 08:20:55 +02:00

layout: improve error message for ParseLayout

This commit is contained in:
Alexander Neumann 2017-04-02 20:28:42 +02:00
parent e3e3a8a695
commit c5eb36fe9d

View File

@ -199,7 +199,7 @@ func ParseLayout(repo Filesystem, layout, defaultLayout, path string) (l Layout,
return ParseLayout(repo, defaultLayout, "", path)
}
default:
return nil, errors.Errorf("unknown backend layout string %q, may be one of default/cloud/s3", layout)
return nil, errors.Errorf("unknown backend layout string %q, may be one of: default, cloud, s3", layout)
}
return l, nil