diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-04 21:42:45 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-04 21:45:41 +0100 |
commit | 94527843ecbf92d48e367b6b5e255da4e958d0be (patch) | |
tree | f3b41d63609428bbd1b3d2fc70b3b50b5b375e72 /scripts/build-command-op-templates | |
parent | 3d231292c8beaa00d40f922c01ca4191b2b89da1 (diff) | |
download | vyos-1x-94527843ecbf92d48e367b6b5e255da4e958d0be.tar.gz vyos-1x-94527843ecbf92d48e367b6b5e255da4e958d0be.zip |
templates: T2099: make op-mode path completion helper working
Diffstat (limited to 'scripts/build-command-op-templates')
-rwxr-xr-x | scripts/build-command-op-templates | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-command-op-templates b/scripts/build-command-op-templates index 0383c8982..689d19ece 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} | sed -e \"s/'//g\"".format(i.text)) for i in scripts: comp_exprs.append("{0}".format(i.text)) comp_help = " && ".join(comp_exprs) |