From 3b18f5039369f2bea673b0bcf1c6dcbb459f248f Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Tue, 28 Jul 2015 09:38:02 +0200 Subject: Improved the layout of the help command --- g.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'g.sh') diff --git a/g.sh b/g.sh index 4887cf1..c699ecb 100644 --- a/g.sh +++ b/g.sh @@ -24,10 +24,13 @@ usage() { # Print the help message. help() { usage - echo -e "\nThe g command are:" - echo -e " add\tAdd a new shortcut." - echo -e " rm\tRemove a shorcut." - echo -e " list\tList all the available shortcuts." + echo -e "\nThe g commands are:" + tab=$'\t' + column -t -s $'\t' <