Transformed some variables into consts (readonly variables)
This commit is contained in:
parent
7812676145
commit
767022de90
10
sonaris.sh
10
sonaris.sh
|
@ -49,12 +49,12 @@ foobar"
|
|||
## MAIN VARIABLES ################################################################################
|
||||
|
||||
# this is the current version of the program
|
||||
version="Stable 1.0.2 - Codename Mutahar_sus"
|
||||
readonly VERSION="Stable 1.0.2 - Codename Mutahar_sus"
|
||||
|
||||
# define a couple coloUrs
|
||||
YELLOW='\033[1;33m'
|
||||
RED='\033[0;31m'
|
||||
NC='\033[0m' # no colour
|
||||
readonly YELLOW='\033[1;33m'
|
||||
readonly RED='\033[0;31m'
|
||||
readonly NC='\033[0m' # no colour
|
||||
|
||||
##################################################################################################
|
||||
|
||||
|
@ -86,7 +86,7 @@ Options:
|
|||
-v, --version\t\tprints program version and exits
|
||||
|
||||
[Author: mirk0dex <mirkodi.tech>]\n
|
||||
" "$version" "$0" "$0"
|
||||
" "$VERSION" "$0" "$0"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue