Skip to content

Commit 6292953

Browse files
authored
docs: specify usage of the placeholder tag (#448)
1 parent d113f61 commit 6292953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ Both can coexist with standard Tag parsing.
561561
| `name:"X"` | Long name, for overriding field name. |
562562
| `help:"X"` | Help text. |
563563
| `type:"X"` | Specify [named types](#custom-named-decoders) to use. |
564-
| `placeholder:"X"` | Placeholder text. |
564+
| `placeholder:"X"` | Placeholder input, if flag. e.g. `` `placeholder:"<the-placeholder>"` `` will show `--flag-name=<the-placeholder>` when displaying help. |
565565
| `default:"X"` | Default value. |
566566
| `default:"1"` | On a command, make it the default. |
567567
| `default:"withargs"` | On a command, make it the default and allow args/flags from that command |

0 commit comments

Comments
 (0)