diff --git a/apt-repos.sh b/apt-repos.sh index 7491862..9c32bc9 100755 --- a/apt-repos.sh +++ b/apt-repos.sh @@ -1,9 +1,9 @@ # This script expects an OS that is based on Debian in at least package management -usage="$(basename "$0") [-h] [-s] [-n hostname] -- my script for initializing new Linux installs +usage="$(basename "$0") [-h] [-s] [-n hostname] -- my script for initializing apt repos on new Linux installs \n\n where:\n -h, ? \t\t\tshow this help text\n - -s, --server \t\tset server flag to only install server components, default\n + -s, --server \t\tonly install server components\n -n, --name [hostname] \tset the hostname to the argument" # A repos don't support virgnia (Mint codename), only recognizing Jammy (Ubuntu) @@ -17,7 +17,7 @@ client=true while getopts "h?sn:" opt; do case "$opt" in h|\?) - echo -e $usage + echo -e $usage | fold -w 80 -s exit 0 ;; s|server) client=false