mirror of https://github.com/kdl-org/kdl.git
argument/property ordering clarification
This commit is contained in:
parent
99d9168a4a
commit
fbb03154cd
4
SPEC.md
4
SPEC.md
|
|
@ -57,8 +57,8 @@ slash-escaped line continuation](#line-continuation). Arguments and Properties
|
||||||
may be interspersed in any order, much like is common with positional
|
may be interspersed in any order, much like is common with positional
|
||||||
arguments vs options in command line tools.
|
arguments vs options in command line tools.
|
||||||
|
|
||||||
Arguments are ordered relative to each other and that order must be preserved
|
Arguments are ordered relative to each other (but not relative to Properties)
|
||||||
in order to maintain the semantics.
|
and that order must be preserved in order to maintain the semantics.
|
||||||
|
|
||||||
By contrast, Property order _SHOULD NOT_ matter to implementations.
|
By contrast, Property order _SHOULD NOT_ matter to implementations.
|
||||||
[Children](#children-block) should be used if an order-sensitive key/value
|
[Children](#children-block) should be used if an order-sensitive key/value
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue