aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx6
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmx b/kvmx
index 0472bf1..56e4991 100755
--- a/kvmx
+++ b/kvmx
@@ -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
}