diff options
-rwxr-xr-x | kvmx | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -370,12 +370,12 @@ function kvmx_usage { echo -e "\t$BASENAME clone <orig-guest> <dest-folder>" echo "" - local list="`kvmx_list | xargs`" + local list="`kvmx_list`" if [ ! -z "$list" ]; then echo "available virtual machines:" echo "" - echo -e "\t$list" + echo "$list" | sed -e 's/^/\t/' echo "" fi @@ -525,7 +525,7 @@ function kvmx_rsync { # List guests function kvmx_list { if [ -e "$GLOBAL_USER_CONFIG_FOLDER" ]; then - ls $GLOBAL_USER_CONFIG_FOLDER + ls -1 $GLOBAL_USER_CONFIG_FOLDER | xargs -L 6 | column -t -c 6 fi } |