shorten flags

This commit is contained in:
James Dyke 2026-01-02 13:47:05 +01:00
parent 3475382b6b
commit 1f261383c3

View file

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