mirror of
https://github.com/daylinmorgan/tsm.git
synced 2025-02-02 10:14:19 -06:00
use settings for short flag
This commit is contained in:
parent
1dc92e5909
commit
1d2cd406c4
1 changed files with 2 additions and 3 deletions
|
@ -13,14 +13,13 @@ const tsmVersion {.strDefine.} =
|
|||
|
||||
hwylCli:
|
||||
name "tsm"
|
||||
V tsmVersion
|
||||
settings InferShort
|
||||
version tsmVersion
|
||||
flags:
|
||||
open:
|
||||
? "only search open sessions"
|
||||
- o
|
||||
new:
|
||||
? "open session in current directory"
|
||||
- n
|
||||
run:
|
||||
if new and open:
|
||||
termQuit "--new and --open are mutually exclusive"
|
||||
|
|
Loading…
Reference in a new issue