Skip to content

Commit

Permalink
feat: some fixes
Browse files Browse the repository at this point in the history
- use TITLE instead of INFO
- update help message for list()
  • Loading branch information
SaicharanKandukuri committed Feb 1, 2023
1 parent c87434d commit 50c59ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions udroid/src/help_udroid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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> 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> path to look for distros"
echo " --list-installed show only installed distros"
}

# help_upgrade: show help for upgrade
Expand Down
4 changes: 2 additions & 2 deletions udroid/src/udroid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -846,7 +846,7 @@ list() {
fi
done
done

# footer
{
echo ""
Expand Down

0 comments on commit 50c59ee

Please sign in to comment.