From e3683ef9025df5e336cf7798eda2d1be2178734a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 30 Jul 2022 15:04:12 +0200 Subject: T1748: vbash: beautify tab completion output/line breaks --- etc/bash_completion.d/vyatta-op | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op index ba54032..8ac2d9b 100644 --- a/etc/bash_completion.d/vyatta-op +++ b/etc/bash_completion.d/vyatta-op @@ -125,11 +125,13 @@ _vyatta_op_print_help () elif [ ${#help} -eq 0 ] ; then echo -ne "\n $label" elif [ ${#label} -lt 6 ] ; then - echo -ne "\n $label\t\t$help" + echo -ne "\n $label\t\t\t$help" elif [ ${#label} -lt 14 ] ; then + echo -ne "\n $label\t\t$help" + elif [ ${#label} -lt 21 ] ; then echo -ne "\n $label\t$help" else - echo -ne "\n $label\n\t\t$help" + echo -ne "\n $label\n\t\t\t$help" fi } -- cgit v1.2.3