diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-21 09:07:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 09:07:08 +0100 |
commit | 23b79df8bf766e72b8eb697b4726d843664c46c3 (patch) | |
tree | d1c89c88a8914dd4b684d26e120b23fe639c2c3d | |
parent | 0d1d07cb389a19aed71974bceb37e7d7f3b7cc7b (diff) | |
parent | b369788ef466a0f0a0c66bba7a1b5dbe7070b074 (diff) | |
download | vyatta-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-cfg | 5 |
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>' ;; |