summaryrefslogtreecommitdiff
path: root/scripts/build-command-op-templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-01-07 15:48:22 +0200
committerDaniil Baturin <daniil@vyos.io>2021-01-07 15:48:22 +0200
commit188f2171c62af50c95cda38e2bb86e7cf47413bd (patch)
tree92a612dd207eda8bc3b5a2b3584de0c359f6179a /scripts/build-command-op-templates
parent04a02d938dc2975eac240819f930e4f047cc0e97 (diff)
downloadvyos-1x-188f2171c62af50c95cda38e2bb86e7cf47413bd.tar.gz
vyos-1x-188f2171c62af50c95cda38e2bb86e7cf47413bd.zip
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