Commit 8d6a91ee27828dfd8ed7b259e9ca7d0c38419d81
1 parent
24450d18
improve documentation for default and implicit
Showing
1 changed file
with
4 additions
and
0 deletions
README.md
| @@ -84,6 +84,10 @@ If an option had both, then not specifying it would give the value `"value"`, | @@ -84,6 +84,10 @@ If an option had both, then not specifying it would give the value `"value"`, | ||
| 84 | writing it on the command line as `--option` would give the value `"implicit"`, | 84 | writing it on the command line as `--option` would give the value `"implicit"`, |
| 85 | and writing `--option=another` would give it the value `"another"`. | 85 | and writing `--option=another` would give it the value `"another"`. |
| 86 | 86 | ||
| 87 | +Note that the default and implicit value is always stored as a string, | ||
| 88 | +regardless of the type that you want to store it in. It will be parsed as | ||
| 89 | +though it was given on the command line. | ||
| 90 | + | ||
| 87 | # Linking | 91 | # Linking |
| 88 | 92 | ||
| 89 | This is a header only library. | 93 | This is a header only library. |