summaryrefslogtreecommitdiff
path: root/schema/op-mode-definition.rnc
diff options
context:
space:
mode:
Diffstat (limited to 'schema/op-mode-definition.rnc')
-rw-r--r--schema/op-mode-definition.rnc8
1 files changed, 5 insertions, 3 deletions
diff --git a/schema/op-mode-definition.rnc b/schema/op-mode-definition.rnc
index cbe51e6dc..ad41700b9 100644
--- a/schema/op-mode-definition.rnc
+++ b/schema/op-mode-definition.rnc
@@ -95,13 +95,15 @@ command = element command
# completionHelp tags contain information about allowed values of a node that is used for generating
# tab completion in the CLI frontend and drop-down lists in GUI frontends
-# It is only meaninful for leaf nodes
+# It is only meaningful for leaf nodes
# Allowed values can be given as a fixed list of values (e.g. <list>foo bar baz</list>),
# as a configuration path (e.g. <path>interfaces ethernet</path>),
-# or as a path to a script file that generates the list (e.g. <script>/usr/lib/foo/list-things</script>
+# as a path to a script file that generates the list (e.g. <script>/usr/lib/foo/list-things</script>,
+# or to enable built-in image path completion (<imagePath/>).
completionHelp = element completionHelp
{
(element list { text })* &
(element path { text })* &
- (element script { text })*
+ (element script { text })* &
+ (element imagePath { empty })?
}