Skip to content

Commit 0bcf3c5

Browse files
Document that enums can be passed as lowercase in flags.
PiperOrigin-RevId: 891702609
1 parent 0f40378 commit 0bcf3c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/reference/cpp/cpp-generated.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,8 +1186,8 @@ is nested in the message class.
11861186
Generated `enum` values have native support for Abseil's flag parse/unparse
11871187
logic. They can be used as the type for `ABSL_FLAG` declarations.
11881188

1189-
The flag parser supports both labels and numbers. Invalid labels/numbers will
1190-
cause a parse failure.
1189+
The flag parser supports both labels and numbers. Labels can be lowercase, if
1190+
they are unambiguous. Invalid labels/numbers will cause a parse failure.
11911191

11921192
## Extensions (proto2 and editions only) {#extension}
11931193

0 commit comments

Comments
 (0)