use settings for short flag

This commit is contained in:
Daylin Morgan 2025-01-31 08:40:49 -06:00
parent 1dc92e5909
commit 1d2cd406c4
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -13,14 +13,13 @@ const tsmVersion {.strDefine.} =
hwylCli: hwylCli:
name "tsm" name "tsm"
V tsmVersion settings InferShort
version tsmVersion
flags: flags:
open: open:
? "only search open sessions" ? "only search open sessions"
- o
new: new:
? "open session in current directory" ? "open session in current directory"
- n
run: run:
if new and open: if new and open:
termQuit "--new and --open are mutually exclusive" termQuit "--new and --open are mutually exclusive"