Add version flag

This commit is contained in:
lw-everestlinux 2022-10-11 10:36:43 -04:00
parent c8aecefc2e
commit 5afddf1a8a

View File

@ -66,6 +66,11 @@ while [[ $# -gt 0 ]]; do
*) *)
printf "$red invalid option specifieid, see 'esv --help' $reset \n" printf "$red invalid option specifieid, see 'esv --help' $reset \n"
exit 1 exit 1
;;
-v|--version)
printf "$blue esv v1.0.0 $reset \n"
exit 0
;;
esac esac
done done