summaryrefslogtreecommitdiff
path: root/scripts/build-command-op-templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-14 17:32:12 +0100
committerGitHub <noreply@github.com>2021-01-14 17:32:12 +0100
commit86503b264707c9f076423f53b783bd45c335a7c4 (patch)
tree75d1b1d7dc2237f492b1ab9dc6f24b43186a084b /scripts/build-command-op-templates
parent1a58bfde9ad954935b9e26d9d3617a9cceb136be (diff)
parent188f2171c62af50c95cda38e2bb86e7cf47413bd (diff)
downloadvyos-1x-86503b264707c9f076423f53b783bd45c335a7c4.tar.gz
vyos-1x-86503b264707c9f076423f53b783bd45c335a7c4.zip
Merge pull request #673 from dmbaturin/separate-base-nodes
T3165: use a separate file for "base" CLI nodes.
Diffstat (limited to 'scripts/build-command-op-templates')
-rwxr-xr-xscripts/build-command-op-templates1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build-command-op-templates b/scripts/build-command-op-templates
index c60b32a1e..54cc07794 100755
--- a/scripts/build-command-op-templates
+++ b/scripts/build-command-op-templates
@@ -193,6 +193,7 @@ def process_node(n, tmpl_dir):
f.write('help: {0}\n'.format(props['help']))
else:
# Something has already generated this file
+ print("Warning: refusing to overwrite already existing file {}".format(nodedef_path))
pass
# Create the inner node.tag part