Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
color --fav=<fav> [--second=<second>] [--help]
```

- term **--fav=\<fav\>:**
- term **--fav=\<fav\>**:

*Your favorite color.*


- term **--second=\<second\>:**
- term **--second=\<second\>**:

*Your second favorite color.*

This is optional.


- term **--help:**
- term **--help**:

*Show help information.*

Expand All @@ -31,7 +31,7 @@ Show subcommand help information.
color help [<subcommands>...]
```

- term **subcommands:**
- term **subcommands**:



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
count-lines [<input-file>] [--prefix=<prefix>] [--verbose] [--help]
```

- term **input-file:**
- term **input-file**:

*A file to count lines in. If omitted, counts the lines of stdin.*


- term **--prefix=\<prefix\>:**
- term **--prefix=\<prefix\>**:

*Only count lines with this prefix.*


- term **--verbose:**
- term **--verbose**:

*Include extra information in the output.*


- term **--help:**
- term **--help**:

*Show help information.*

Expand All @@ -34,7 +34,7 @@ Show subcommand help information.
count-lines help [<subcommands>...]
```

- term **subcommands:**
- term **subcommands**:



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ A utility for performing maths.
math [--version] [--help]
```

- term **--version:**
- term **--version**:

*Show the version.*


- term **--help:**
- term **--help**:

*Show help information.*

Expand All @@ -26,22 +26,22 @@ Print the sum of the values.
math add [--hex-output] [<values>...] [--version] [--help]
```

- term **--hex-output:**
- term **--hex-output**:

*Use hexadecimal notation for the result.*


- term **values:**
- term **values**:

*A group of integers to operate on.*


- term **--version:**
- term **--version**:

*Show the version.*


- term **--help:**
- term **--help**:

*Show help information.*

Expand All @@ -56,22 +56,22 @@ Print the product of the values.
math multiply [--hex-output] [<values>...] [--version] [--help]
```

- term **--hex-output:**
- term **--hex-output**:

*Use hexadecimal notation for the result.*


- term **values:**
- term **values**:

*A group of integers to operate on.*


- term **--version:**
- term **--version**:

*Show the version.*


- term **--help:**
- term **--help**:

*Show help information.*

Expand All @@ -86,12 +86,12 @@ Calculate descriptive statistics.
math stats [--version] [--help]
```

- term **--version:**
- term **--version**:

*Show the version.*


- term **--help:**
- term **--help**:

*Show help information.*

Expand All @@ -104,22 +104,22 @@ Print the average of the values.
math stats average [--kind=<kind>] [<values>...] [--version] [--help]
```

- term **--kind=\<kind\>:**
- term **--kind=\<kind\>**:

*The kind of average to provide.*


- term **values:**
- term **values**:

*A group of floating-point values to operate on.*


- term **--version:**
- term **--version**:

*Show the version.*


- term **--help:**
- term **--help**:

*Show help information.*

Expand All @@ -134,17 +134,17 @@ Print the standard deviation of the values.
math stats stdev [<values>...] [--version] [--help]
```

- term **values:**
- term **values**:

*A group of floating-point values to operate on.*


- term **--version:**
- term **--version**:

*Show the version.*


- term **--help:**
- term **--help**:

*Show help information.*

Expand All @@ -159,41 +159,41 @@ Print the quantiles of the values (TBD).
math stats quantiles [<one-of-four>] [<custom-arg>] [<custom-deprecated-arg>] [<values>...] [--file=<file>] [--directory=<directory>] [--shell=<shell>] [--custom=<custom>] [--custom-deprecated=<custom-deprecated>] [--version] [--help]
```

- term **one-of-four:**
- term **one-of-four**:


- term **custom-arg:**
- term **custom-arg**:


- term **custom-deprecated-arg:**
- term **custom-deprecated-arg**:


- term **values:**
- term **values**:

*A group of floating-point values to operate on.*


- term **--file=\<file\>:**
- term **--file=\<file\>**:


- term **--directory=\<directory\>:**
- term **--directory=\<directory\>**:


- term **--shell=\<shell\>:**
- term **--shell=\<shell\>**:


- term **--custom=\<custom\>:**
- term **--custom=\<custom\>**:


- term **--custom-deprecated=\<custom-deprecated\>:**
- term **--custom-deprecated=\<custom-deprecated\>**:


- term **--version:**
- term **--version**:

*Show the version.*


- term **--help:**
- term **--help**:

*Show help information.*

Expand All @@ -210,7 +210,7 @@ Show subcommand help information.
math help [<subcommands>...]
```

- term **subcommands:**
- term **subcommands**:



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
repeat [--count=<count>] [--include-counter] <phrase> [--help]
```

- term **--count=\<count\>:**
- term **--count=\<count\>**:

*The number of times to repeat 'phrase'.*


- term **--include-counter:**
- term **--include-counter**:

*Include a counter with each repetition.*


- term **phrase:**
- term **phrase**:

*The phrase to repeat.*


- term **--help:**
- term **--help**:

*Show help information.*

Expand All @@ -34,7 +34,7 @@ Show subcommand help information.
repeat help [<subcommands>...]
```

- term **subcommands:**
- term **subcommands**:



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@
roll [--times=<n>] [--sides=<m>] [--seed=<seed>] [--verbose] [--help]
```

- term **--times=\<n\>:**
- term **--times=\<n\>**:

*Rolls the dice <n> times.*


- term **--sides=\<m\>:**
- term **--sides=\<m\>**:

*Rolls an <m>-sided dice.*

Use this option to override the default value of a six-sided die.


- term **--seed=\<seed\>:**
- term **--seed=\<seed\>**:

*A seed to use for repeatable random generation.*


- term **--verbose:**
- term **--verbose**:

*Show all roll results.*


- term **--help:**
- term **--help**:

*Show help information.*

Expand All @@ -41,7 +41,7 @@ Show subcommand help information.
roll help [<subcommands>...]
```

- term **subcommands:**
- term **subcommands**:



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ extension CommandInfoV0 {

switch markdownStyle {
case .docc:
result += "- term **\(arg.identity()):**\n\n"
result += "- term **\(arg.identity())**:\n\n"
case .github:
result += "**\(arg.identity()):**\n\n"
}
Expand Down