Skip to content

Commit

Permalink
Helper Switch Case PROMPT
Browse files Browse the repository at this point in the history
  • Loading branch information
nihsx committed Oct 29, 2021
1 parent 0cd847f commit a6336c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helper/switchcase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ function switchCase() {
;;

n|N )
stat "ERROR" "Warning" "Abort."
stat "ERROR" "Warning" "${COLOR_DANGER}Abort.${COLOR_BASED}"
exit 1
;;

* )
stat "ERROR" "Warning" "Unknown '${SWITCH_CASE}'"
stat "ERROR" "Warning" "Unknown '${COLOR_DANGER}${SWITCH_CASE}${COLOR_BASED}'"
switchCase ${1} ${2} ${3}
;;

Expand Down

0 comments on commit a6336c5

Please sign in to comment.