Skip to content

Commit

Permalink
docs: specify usage of the placeholder tag (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeralm authored Aug 13, 2024
1 parent d113f61 commit 6292953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ Both can coexist with standard Tag parsing.
| `name:"X"` | Long name, for overriding field name. |
| `help:"X"` | Help text. |
| `type:"X"` | Specify [named types](#custom-named-decoders) to use. |
| `placeholder:"X"` | Placeholder text. |
| `placeholder:"X"` | Placeholder input, if flag. e.g. `` `placeholder:"<the-placeholder>"` `` will show `--flag-name=<the-placeholder>` when displaying help. |
| `default:"X"` | Default value. |
| `default:"1"` | On a command, make it the default. |
| `default:"withargs"` | On a command, make it the default and allow args/flags from that command |
Expand Down

0 comments on commit 6292953

Please sign in to comment.