From 50c59ee628894901890f7f58270bb88f9cace57a Mon Sep 17 00:00:00 2001 From: saicharankandukuri Date: Wed, 1 Feb 2023 10:50:37 +0530 Subject: [PATCH] feat: some fixes - use TITLE instead of INFO - update help message for list() --- udroid/src/help_udroid.sh | 10 ++++++---- udroid/src/udroid.sh | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/udroid/src/help_udroid.sh b/udroid/src/help_udroid.sh index 66c3a4b..aa7f378 100644 --- a/udroid/src/help_udroid.sh +++ b/udroid/src/help_udroid.sh @@ -48,11 +48,13 @@ help_root() { # help_list: show help for list help_list() { echo "udroid [ list| --list ] [options]" + echo "show a table of all available distros/suites" echo "options:" - echo " -h, --help show this help message and exit" - echo " --size show size of each distro" - echo " --path path to look for distros" - echo " --list-installed show only installed distros" + echo " -h, --help show this help message and exit" + echo " --size show size of each distro" + echo " --download-size | -ds show download size of each distro" + echo " --path path to look for distros" + echo " --list-installed show only installed distros" } # help_upgrade: show help for upgrade diff --git a/udroid/src/udroid.sh b/udroid/src/udroid.sh index c9ed14f..f4d76bf 100755 --- a/udroid/src/udroid.sh +++ b/udroid/src/udroid.sh @@ -736,7 +736,7 @@ parser() { ## List # list all the avalible suites varients and their status list() { - INFO "list()" + TITLE "list()" export size=false export show_installed_only=false local show_remote_download_size=false @@ -846,7 +846,7 @@ list() { fi done done - + # footer { echo ""