Document that the placeholder tag requires v1.3.0

This commit is contained in:
Alex Flint 2020-02-23 11:44:00 -08:00 committed by GitHub
parent e9c71eb4fa
commit db9f869c99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -337,6 +337,8 @@ main.NameDotName{Head:"file", Tail:"txt"}
### Custom placeholders ### Custom placeholders
*Introduced in version 1.3.0*
Use the `placeholder` tag to control which placeholder text is used in the usage text. Use the `placeholder` tag to control which placeholder text is used in the usage text.
```go ```go
@ -392,7 +394,7 @@ Options:
### Subcommands ### Subcommands
*Introduced in `v1.1.0`* *Introduced in version 1.1.0*
Subcommands are commonly used in tools that wish to group multiple functions into a single program. An example is the `git` tool: Subcommands are commonly used in tools that wish to group multiple functions into a single program. An example is the `git` tool:
```shell ```shell