Add version flag
This commit is contained in:
parent
c8aecefc2e
commit
5afddf1a8a
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user