summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-07-18 08:01:12 +0300
committerDaniil Baturin <daniil@vyos.io>2020-07-18 08:01:12 +0300
commitfc5c2d59ecc97d782deaf9d029c07990d15c8bb4 (patch)
tree544e5d17a5ea7cd50a58701ab03afe3afa9037e4 /scripts
parentf40ecce733c72b23aa88086e6eb731021d4ea035 (diff)
downloadvyos-1x-fc5c2d59ecc97d782deaf9d029c07990d15c8bb4.tar.gz
vyos-1x-fc5c2d59ecc97d782deaf9d029c07990d15c8bb4.zip
T2704: force newlines after listActiveNode output.
Diffstat (limited to 'scripts')
-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 689d19ece..c60b32a1e 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 listActiveNodes {0} | sed -e \"s/'//g\"".format(i.text))
+ comp_exprs.append("/bin/cli-shell-api listActiveNodes {0} | sed -e \"s/'//g\" && echo".format(i.text))
for i in scripts:
comp_exprs.append("{0}".format(i.text))
comp_help = " && ".join(comp_exprs)