Skip to content

Commit 768f475

Browse files
committed
Shift version description to top of section
The other commands have the following layout: ### {command name} {one-line description} * *Options:* ... ... * *Exit code:* ... {additional notes} {example} so its good to follow that pattern for 'version'. This commit also removes a dangling "The version" which snuck in with ffa124c (Add a 'version' command, 2015-09-14).
1 parent ffdd704 commit 768f475

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

runtime.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Global options may take positional arguments (e.g. `--log-level debug`), but the
1616

1717
### version
1818

19+
Print the runtime version and exit.
20+
1921
* *Options* None are required, but the runtime may support options.
2022
* *Standard streams*
2123
* *stdin:* The runtime may not attempt to read from its stdin.
@@ -25,9 +27,6 @@ Global options may take positional arguments (e.g. `--log-level debug`), but the
2527
* *stderr:* The runtime may print diagnostic messages to stderr, and the format for those lines is not specified in this document.
2628
* *Exit code:* The runtime must exit with zero.
2729

28-
Print the runtime version and exit.
29-
The version
30-
3130
Example:
3231
```sh
3332
$ funC version

0 commit comments

Comments
 (0)