Skip to content

Commit d67989b

Browse files
authored
[vcpkg] link documentation when using bad identifiers (#14)
1 parent de18b82 commit d67989b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/vcpkg/base/json.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,10 @@ namespace vcpkg::Json
13721372
{
13731373
if (!is_ident(sv))
13741374
{
1375-
r.add_generic_error(type_name(), "must be lowercase alphanumeric+hyphens and not reserved");
1375+
r.add_generic_error(type_name(),
1376+
"must be lowercase alphanumeric+hyphens and not reserved (see "
1377+
"https://github.com/Microsoft/vcpkg/tree/master/docs/specifications/manifests.md for "
1378+
"more information)");
13761379
}
13771380
return sv.to_string();
13781381
}

0 commit comments

Comments
 (0)