(feat) add brick version

This commit is contained in:
b1ek 2024-02-14 12:06:19 +10:00
parent f497614854
commit caaf940f0c
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 7 additions and 0 deletions

View File

@ -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;;