diff --git a/port/cpl_vsil.cpp b/port/cpl_vsil.cpp index 61d9a535041e..f5b3b401de32 100644 --- a/port/cpl_vsil.cpp +++ b/port/cpl_vsil.cpp @@ -3503,7 +3503,7 @@ void VSISetCredential(const char *pszPathPrefix, const char *pszKey, * * @param pszPathPrefix a path prefix of a virtual file system handler. * Typically of the form "/vsiXXX/bucket". Must NOT be - * NULL. + * NULL. Should not include trailing slashes. * @param pszKey Option name. Must NOT be NULL. * @param pszValue Option value. May be NULL to erase it. *