diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-21 13:55:27 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-21 13:55:27 -0700 |
commit | 1b2b777227ed2645c68b5ab05931beafff9ccf5d (patch) | |
tree | de961de899568c935cd357150915576c8c2d49c8 /templates/system/login | |
parent | 79f2a3d43c3f7726d0771e9d3770471776c8b360 (diff) | |
download | vyatta-cfg-system-1b2b777227ed2645c68b5ab05931beafff9ccf5d.tar.gz vyatta-cfg-system-1b2b777227ed2645c68b5ab05931beafff9ccf5d.zip |
Add completion for text fields with limited values
For all nodes that do 'syntax:expression: $VAR(@) in' add allowed
tag to show possible values
Diffstat (limited to 'templates/system/login')
-rw-r--r-- | templates/system/login/user/node.tag/level/node.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/system/login/user/node.tag/level/node.def b/templates/system/login/user/node.tag/level/node.def index 54891031..19683d1e 100644 --- a/templates/system/login/user/node.tag/level/node.def +++ b/templates/system/login/user/node.tag/level/node.def @@ -1,6 +1,7 @@ type: txt help: User privilege level default: "admin" +allowed: echo admin operator syntax:expression: $VAR(@) in "admin", "operator"; "Allowed levels are \"admin\" and \"operator\"" val_help: admin; Administrators |