Skip to content

Commit 50c59ee

Browse files
feat: some fixes
- use TITLE instead of INFO - update help message for list()
1 parent c87434d commit 50c59ee

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

udroid/src/help_udroid.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@ help_root() {
4848
# help_list: show help for list
4949
help_list() {
5050
echo "udroid [ list| --list ] [options]"
51+
echo "show a table of all available distros/suites"
5152
echo "options:"
52-
echo " -h, --help show this help message and exit"
53-
echo " --size show size of each distro"
54-
echo " --path <path> path to look for distros"
55-
echo " --list-installed show only installed distros"
53+
echo " -h, --help show this help message and exit"
54+
echo " --size show size of each distro"
55+
echo " --download-size | -ds show download size of each distro"
56+
echo " --path <path> path to look for distros"
57+
echo " --list-installed show only installed distros"
5658
}
5759

5860
# help_upgrade: show help for upgrade

udroid/src/udroid.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ parser() {
736736
## List
737737
# list all the avalible suites varients and their status
738738
list() {
739-
INFO "list()"
739+
TITLE "list()"
740740
export size=false
741741
export show_installed_only=false
742742
local show_remote_download_size=false
@@ -846,7 +846,7 @@ list() {
846846
fi
847847
done
848848
done
849-
849+
850850
# footer
851851
{
852852
echo ""

0 commit comments

Comments
 (0)