From d69514dd5541b49d1345f22e3cc42b5005aa878b Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Mon, 27 Apr 2020 09:13:11 +1000 Subject: [PATCH] Update README with note about existingfile and `-`. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7e88bba..508a1df 100644 --- a/README.md +++ b/README.md @@ -370,12 +370,12 @@ Kong includes a number of builtin custom type mappers. These can be used by specifying the tag `type:""`. They are registered with the option function `NamedMapper(name, mapper)`. -| Name | Description | -|-------------------|---------------------------------------------------| -| `path` | A path. ~ expansion is applied. | -| `existingfile` | An existing file. ~ expansion is applied. | -| `existingdir` | An existing directory. ~ expansion is applied. | -| `counter` | Increment a numeric field. Useful for `-vvv` | +| Name | Description +|-------------------|--------------------------------------------------- +| `path` | A path. ~ expansion is applied. +| `existingfile` | An existing file. ~ expansion is applied. `-` is accepted for stdin. +| `existingdir` | An existing directory. ~ expansion is applied. +| `counter` | Increment a numeric field. Useful for `-vvv` Slices and maps treat type tags specially. For slices, the `type:""` tag