From 3c4919cf0c415e5a63758bdd56c26b0cbb65c97e Mon Sep 17 00:00:00 2001 From: lw-everestlinux Date: Fri, 26 Aug 2022 18:45:25 -0400 Subject: [PATCH] Glacier v2.2.3 - Made the help message look nice and pretty --- scripts/glacier | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/scripts/glacier b/scripts/glacier index 060649e..99da354 100644 --- a/scripts/glacier +++ b/scripts/glacier @@ -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 . # 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 .\n" + exit 0 ;; --version)