summaryrefslogtreecommitdiff
path: root/scripts/build-command-templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-20 08:13:04 +0100
committerGitHub <noreply@github.com>2023-11-20 08:13:04 +0100
commit293f6b2ea882ebbf5b54e9ff19b1854e627a06c3 (patch)
treeebefd4ed971efeae29670071e17bdb2bf52557d0 /scripts/build-command-templates
parentcd19b9d6b0c21a5d07a9f5a98e5e90d09d8d4cc9 (diff)
parentd87dfa557c962b9ac1bb7483a3b419095ae5fccf (diff)
downloadvyos-1x-293f6b2ea882ebbf5b54e9ff19b1854e627a06c3.tar.gz
vyos-1x-293f6b2ea882ebbf5b54e9ff19b1854e627a06c3.zip
Merge pull request #2505 from vyos/mergify/bp/sagitta/pr-2241
T2405: add Git support to commit-archive (backport #2241)
Diffstat (limited to 'scripts/build-command-templates')
-rwxr-xr-xscripts/build-command-templates2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build-command-templates b/scripts/build-command-templates
index c8ae83d9d..2e7f8b994 100755
--- a/scripts/build-command-templates
+++ b/scripts/build-command-templates
@@ -145,6 +145,8 @@ def get_properties(p, default=None):
description = v.find("description").text
if default != None and default.text == format:
description += f' (default)'
+ # Is no description was specified, keep it empty
+ if not description: description = ''
vh.append( (format, description) )
props["val_help"] = vh
except: