summaryrefslogtreecommitdiff
path: root/scripts/build-command-op-templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-04 20:32:04 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-04 20:32:04 +0100
commit1257c0126bdc10bba605652f624815b2e0350ca2 (patch)
treec386b94458a40d412d062dc509b7b27898f0bd77 /scripts/build-command-op-templates
parentcb3ef8a7856c54db0741d65fd3d4564a0aadb6c6 (diff)
downloadvyos-1x-1257c0126bdc10bba605652f624815b2e0350ca2.tar.gz
vyos-1x-1257c0126bdc10bba605652f624815b2e0350ca2.zip
templates: T2098: fix wrong op-mode command for path completion helper
Diffstat (limited to 'scripts/build-command-op-templates')
-rwxr-xr-xscripts/build-command-op-templates2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-command-op-templates b/scripts/build-command-op-templates
index 0383c8982..7630ba23a 100755
--- a/scripts/build-command-op-templates
+++ b/scripts/build-command-op-templates
@@ -111,7 +111,7 @@ def get_properties(p):
for i in lists:
comp_exprs.append("echo \"{0}\"".format(i.text))
for i in paths:
- comp_exprs.append("/bin/cli-shell-api listNodes {0}".format(i.text))
+ comp_exprs.append("/bin/cli-shell-api listActiveNodes {0}".format(i.text))
for i in scripts:
comp_exprs.append("{0}".format(i.text))
comp_help = " && ".join(comp_exprs)