Commit 2b084a3
committed
Clarity for commands vs global options
While reviewing the `global options` section in `runtime.md`, it seemed additional clarity
was needed for the `command` and `global options` requirements.
Discussed and worked on wording with @wking via private IRC.
Also adds uppercase RFC 2119 words for this section.
With regard to the statement `Command names MUST not start with hyphens,` the rationale
behind this decision is to "distinguish unrecognized commands from unrecognized options,
and because we are "requiring runtimes to fail-fast for unrecognized commands" [1,2].
`[1]` https://github.com/wking/oci-command-line-api/pull/8/files#r46898167
`[2]` 527f3c6#commitcomment-14835617
Signed-off-by: Mike Brown <[email protected]>1 parent 933b55d commit 2b084a3
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
0 commit comments