Glacier v2.2.3 - Made the help message look nice and pretty
This commit is contained in:
parent
ebe5e3930e
commit
3c4919cf0c
@ -1,7 +1,16 @@
|
||||
#!/bin/sh
|
||||
# Glacier - A source based package manager written in POSIX sh
|
||||
# (C) 2022 Everest Developers
|
||||
# This program is free software: see the GNU GPL v3.0 for details.
|
||||
# This program is free software: you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by the
|
||||
# Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
# You should have received a copy of the GNU General Public License along with this program.
|
||||
# If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Preloading
|
||||
|
||||
@ -11,8 +20,10 @@ while [[ $# -gt 0 ]]; do
|
||||
case $1 in
|
||||
-h|--help)
|
||||
printf "$blue [ * ] Glacier - A source based package manager written in POSIX sh [ * ] $reset\n"
|
||||
printf "$blue=== Information ====================================================================================$reset\n"
|
||||
printf "$ glacier {-h --help} show this message and exit\n"
|
||||
printf "$ glacier {--version} display the current Glacier version and exit\n"
|
||||
printf "$blue=== Package Operations =============================================================================$reset\n"
|
||||
printf "# glacier {install -f} install a package\n"
|
||||
printf "# glacier {update -u} update a package\n"
|
||||
printf "# glacier {remove -x} remove a package\n"
|
||||
@ -20,9 +31,12 @@ while [[ $# -gt 0 ]]; do
|
||||
printf "# glacier {cache -c} cache a package\n"
|
||||
printf "# glacier {cache-install -ci} install a cached package\n"
|
||||
printf "# glacier {cache-clear -cc} clear the package cache\n"
|
||||
printf "$blue=== Debugging ======================================================================================$reset\n"
|
||||
printf "$ glacier {--showDebugInfo} show debugging info\n"
|
||||
printf "\n"
|
||||
printf "This program is free software: see the GNU GPL v3.0 for details.\n"
|
||||
printf "$blue=== Licensing ======================================================================================$reset\n"
|
||||
printf "This program is freely distributable under the terms of the GNU General Public License version 3 or later.\n"
|
||||
printf "You should have recieved a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.\n"
|
||||
|
||||
exit 0
|
||||
;;
|
||||
--version)
|
||||
|
Loading…
Reference in New Issue
Block a user