Fix the printing error when using bash

This commit is contained in:
Razvan Stoica 2021-04-10 12:01:33 +03:00
parent c67469d96b
commit 38ac7ef8d8

View file

@ -20,6 +20,7 @@ logit () {
info () { info () {
local infoCountCheck local infoCountCheck
local OPTIND c
while getopts c args while getopts c args
do do
case $args in case $args in
@ -37,6 +38,8 @@ info () {
pass () { pass () {
local passScored local passScored
local passCountCheck
local OPTIND s c
while getopts sc args while getopts sc args
do do
case $args in case $args in
@ -59,6 +62,7 @@ pass () {
warn () { warn () {
local warnScored local warnScored
local OPTIND s
while getopts s args while getopts s args
do do
case $args in case $args in
@ -77,6 +81,7 @@ warn () {
note () { note () {
local noteCountCheck local noteCountCheck
local OPTIND c
while getopts c args while getopts c args
do do
case $args in case $args in