Cleaning up typos and limiting output to 80 characters wide.
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
# This script expects an OS that is based on Debian in at least package management
|
# 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
|
\n\n
|
||||||
where:\n
|
where:\n
|
||||||
-h, ? \t\t\tshow this help text\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"
|
-n, --name [hostname] \tset the hostname to the argument"
|
||||||
|
|
||||||
# A repos don't support virgnia (Mint codename), only recognizing Jammy (Ubuntu)
|
# A repos don't support virgnia (Mint codename), only recognizing Jammy (Ubuntu)
|
||||||
@@ -17,7 +17,7 @@ client=true
|
|||||||
while getopts "h?sn:" opt; do
|
while getopts "h?sn:" opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
h|\?)
|
h|\?)
|
||||||
echo -e $usage
|
echo -e $usage | fold -w 80 -s
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
s|server) client=false
|
s|server) client=false
|
||||||
|
|||||||
Reference in New Issue
Block a user