summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Harpin <development@landsofshadow.co.uk>2015-06-30 06:57:26 +0100
committerDaniil Baturin <daniil@baturin.org>2015-08-12 03:48:50 +0200
commit381520719740135236f8a827d14f3c91e6b3ac41 (patch)
treec5aecea8311531174deafa0e97fa3f5e46696cce
parentbbcf1d8676c928f7c234459adae13bf37f75d8b0 (diff)
downloadvyatta-cfg-381520719740135236f8a827d14f3c91e6b3ac41.tar.gz
vyatta-cfg-381520719740135236f8a827d14f3c91e6b3ac41.zip
vyatta-cfg: fix formatting issue with top level cli merge command
Fix a formatting issue with the merge command when listing the available commands at the top level CLI, purely aesthetic. Bug #509 http://bugzilla.vyos.net/show_bug.cgi?id=509
-rwxr-xr-xetc/bash_completion.d/vyatta-cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 0980b05..c87e4d9 100755
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -478,7 +478,7 @@ get_help_text ()
vyatta_help_text+="\\x20\\x20"
fi
fi
- if [ ${#_get_help_text_items[idx]} -lt 5 ]; then
+ if [ ${#_get_help_text_items[idx]} -lt 6 ]; then
vyatta_help_text+="${_get_help_text_items[idx]}\\t\\t"
elif [ ${#_get_help_text_items[idx]} -lt 13 ]; then
vyatta_help_text+="${_get_help_text_items[idx]}\\t"