From 0ba159f97d18d32426a3086ee6b94439731a56d1 Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Wed, 19 Sep 2018 13:00:35 +1000 Subject: [PATCH] Document tag set. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 273691b..44a7a5d 100644 --- a/README.md +++ b/README.md @@ -429,6 +429,9 @@ Variables are set with the `Vars{"key": "value", ...}` option. Undefined variable references in the grammar will result in an error at construction time. +Variables can also be set via the `set:"K=V"` tag. In this case, those variables will be available for that +node and all children. This is useful for composition by allowing the same struct to be reused. + When interpolating into flag or argument help strings, some extra variables are defined from the value itself: