summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-21 09:07:08 +0100
committerGitHub <noreply@github.com>2023-12-21 09:07:08 +0100
commit23b79df8bf766e72b8eb697b4726d843664c46c3 (patch)
treed1c89c88a8914dd4b684d26e120b23fe639c2c3d
parent0d1d07cb389a19aed71974bceb37e7d7f3b7cc7b (diff)
parentb369788ef466a0f0a0c66bba7a1b5dbe7070b074 (diff)
downloadvyatta-cfg-23b79df8bf766e72b8eb697b4726d843664c46c3.tar.gz
vyatta-cfg-23b79df8bf766e72b8eb697b4726d843664c46c3.zip
Merge pull request #72 from vyos/mergify/bp/sagitta/pr-711.4.0-epa2
dhcp: T5846: Have separate DUID formatter hint (backport #71)
-rw-r--r--etc/bash_completion.d/vyatta-cfg5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 1f8b3f6..c2d3a42 100644
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -457,7 +457,7 @@ get_help_text ()
local hstr=${vyatta_cfg_comp_help//\'/\'\\\\\\\'\'}
vyatta_help_text+="\\n\\nDetailed information:\\n"
local sIFS=$IFS
- IFS=' '
+ IFS=$'\n'
local chstr=$(echo -en "$hstr\n" \
| while read comp_help_line; do
echo "vyatta_help_text+=' $comp_help_line\\n';"
@@ -514,6 +514,9 @@ get_value_format_string ()
macaddr)
echo -n '<h:h:h:h:h:h>'
;;
+ duid)
+ echo -n '<h[[:h]...]>'
+ ;;
hostname)
echo -n '<hostname>'
;;