(feat) add brick version
This commit is contained in:
parent
f497614854
commit
caaf940f0c
7
brick.sh
7
brick.sh
|
@ -8,6 +8,7 @@
|
||||||
# settings
|
# settings
|
||||||
set -e
|
set -e
|
||||||
start_time=$(date +%s)
|
start_time=$(date +%s)
|
||||||
|
version=1.1
|
||||||
|
|
||||||
# functions
|
# functions
|
||||||
errcho() {
|
errcho() {
|
||||||
|
@ -131,6 +132,12 @@ while [[ $# -gt 0 ]]; do
|
||||||
inf 'done'
|
inf 'done'
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
-v|--version)
|
||||||
|
echo "brick $version (gpl 3 only)"
|
||||||
|
echo "made by alice with <3"
|
||||||
|
echo "https://git.blek.codes/blek/os"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
-*)
|
-*)
|
||||||
# meh domt need unkonw args
|
# meh domt need unkonw args
|
||||||
shift;;
|
shift;;
|
||||||
|
|
Loading…
Reference in New Issue