From: David Lamparter Date: Fri, 12 May 2017 10:25:26 +0000 (+0200) Subject: doc: fix VARIABLE <> WORD confusion in cli.md X-Git-Tag: reindent-master-before~159 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=32a71fd80c9af5cf21f9eb0691df015e98468d2e;p=mirror%2Ffrr.git doc: fix VARIABLE <> WORD confusion in cli.md Signed-off-by: David Lamparter --- diff --git a/doc/cli.md b/doc/cli.md index c90437ef8d..ffd34dd302 100644 --- a/doc/cli.md +++ b/doc/cli.md @@ -98,7 +98,7 @@ Automatic assignment of variable names works by applying the following rules: - manual names always have priority - a "[no]" at the beginning receives "no" as varname on the "no" token -- WORD tokens whose text is not "WORD" or "NAME" receive a cleaned lowercase +- VARIABLE tokens whose text is not "WORD" or "NAME" receive a cleaned lowercase version of the token text as varname, e.g. "ROUTE-MAP" becomes "route_map". - other variable tokens (i.e. everything except "fixed") receive the text of the preceding fixed token as varname, if one can be found. E.g.: