Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Sep 7, 2023
1 parent 7520feb commit 82af7e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Common flags and meanings
|=====
| Name | Description
| `array` | For fixed-size types, declare that the contents of the packet can have an array of this value.
| `enum=<ref>` | For "leaf" types, copy xref:dictionary/value.adoc[VALUE]s from an xref:dictionary/enum.adoc[ENUM].
| `enum=<ref>` | For "leaf" types, copy xref:dictionary/value.adoc[VALUE]s from an xref:dictionary/enum.adoc[ENUM] or other attribute.
| `clone=<ref>` | For `tlv` or 'struct' types, clone (or copy) child definitions from another attribute of the same type
| `internal` | This attribute is internal to the server, and will never be sent "on the wire"
| `ref=<ref>` | For `group` types, the referenced attributes will be allowed in the group
Expand Down
2 changes: 1 addition & 1 deletion doc/antora/modules/reference/pages/dictionary/define.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Common flags and meanings
[cols="30%,70%"]
|=====
| Name | Description
| `enum=...` | For "leaf" types, copy xref:dictionary/value.adoc[VALUE]s from an `xref:dictionary/enum.adoc[ENUM].
| `enum=...` | For "leaf" types, copy xref:dictionary/value.adoc[VALUE]s from an `xref:dictionary/enum.adoc[ENUM] or other attribute.
| `clone=...` | For `tlv` or 'struct' types, clone (or copy) child definitions from another attribute of the same type
|=====

Expand Down
5 changes: 2 additions & 3 deletions doc/antora/modules/reference/pages/dictionary/enum.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ ENUM <name> <type>
----

.Description
The `ENUM` keyword defines name for set of xref:dictionary/value.adoc[VALUE]s.
The `ENUM` keyword defines a name for set of xref:dictionary/value.adoc[VALUE]s.

<name>:: The name of the enum.
+
These names are in the same namespace as
xref:dictionary/attribute.adoc[ATTRIBUTE]s, and must follow the same
rules
xref:dictionary/attribute.adoc[ATTRIBUTE]s, and must follow the same name format.

<type>:: A xref:type/index.adoc[data type]
+
Expand Down

0 comments on commit 82af7e7

Please sign in to comment.