From df8673ba01dc4df5301593cf677d25886f608927 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 1 Apr 2017 14:09:50 -0300 Subject: Usage: format available actions is columns --- kvmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvmx b/kvmx index 1b7c4cf..0472bf1 100755 --- a/kvmx +++ b/kvmx @@ -361,7 +361,7 @@ function kvmx_usage { echo "" echo "available actions:" echo "" - grep "^function kvmx_" $0 | cut -d ' ' -f 2 | sed -e 's/kvmx_/\t/' | sort + grep "^function kvmx_" $0 | cut -d ' ' -f 2 | sed -e 's/kvmx_//' | sort | xargs -L 6 | column -t -c 6 | sed -e 's/^/\t/' echo "" echo "examples:" echo "" -- cgit v1.2.3