Usage display text alignments

This commit is contained in:
Pratik
2019-02-13 07:11:05 +05:30
parent 76d3724af2
commit f96590a3d4
2 changed files with 8 additions and 10 deletions

View File

@@ -32,11 +32,10 @@ function usage() {
fi
echo "Usage: sudo bash $0 [-u|--username username] [-r|--resetrootpwd] [--defaultsourcelist]"
echo " -u, --username Username for your server (If omitted script will choose an username for you)"
echo " -r, --resetrootpwd Reset current root password"
echo " -hide, --hide-credentials Credentials will hidden from the screen and can ONLY be found in the logfile (tail -n 20 logfile)"
echo " -d, --defaultsourcelist Updates /etc/apt/sources.list to download software from debian.org"
echo " NOTE - If you fail to update system after using it, you need to manually reset it. This script keeps a backup in the same folder"
echo " -u, --username Username for your server (If omitted script will choose an username for you)"
echo " -r, --resetrootpwd Reset current root password"
echo " -hide, --hide-credentials Credentials will hidden from the screen and can ONLY be found in the logfile (tail -n 20 logfile)"
echo " -d, --defaultsourcelist Updates /etc/apt/sources.list to download software from debian.org"
echo ""
echo "Example: bash ./$SCRIPT_NAME.sh --username myuseraccount --resetrootpwd"