update to use -t and -s respectively

This commit is contained in:
James Dyke 2026-01-02 13:40:08 +01:00
parent 0ce15ccfad
commit 3475382b6b

View file

@ -14,10 +14,10 @@ type="type-1"
theme="style-1"
# Parse flags
while getopts "t:T:" opt; do
while getopts "t:s:" opt; do
case $opt in
t) type="$OPTARG" ;;
T) theme="$OPTARG" ;;
s) theme="$OPTARG" ;;
\?) echo "Invalid option: -$OPTARG" >&2; exit 1 ;;
esac
done