mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 06:00:45 -06:00
add back usage strings
This commit is contained in:
parent
9ed82c1ae6
commit
b7cb67a907
1 changed files with 7 additions and 6 deletions
|
@ -117,13 +117,14 @@ when isMainModule:
|
||||||
# clUse must be set here using clCfg doesn't seem to work with dispatchMutli ...
|
# clUse must be set here using clCfg doesn't seem to work with dispatchMutli ...
|
||||||
clUse* = $bb("$command $args\n${doc}[bold]Options[/]:\n$options")
|
clUse* = $bb("$command $args\n${doc}[bold]Options[/]:\n$options")
|
||||||
osUsage = $bb("$command [[subcmd] $args\n$doc[bold]Options[/]:\n$options")
|
osUsage = $bb("$command [[subcmd] $args\n$doc[bold]Options[/]:\n$options")
|
||||||
|
|
||||||
dispatchMulti(
|
dispatchMulti(
|
||||||
[build, help = sharedHelp],
|
[build, help = sharedHelp, usage = clUse ],
|
||||||
[cache, help = cacheHelp ],
|
[cache, help = cacheHelp , usage = clUse ],
|
||||||
[ci, help = ciHelp ],
|
[ci, help = ciHelp , usage = clUse ],
|
||||||
[dry, help = sharedHelp],
|
[dry, help = sharedHelp, usage = clUse ],
|
||||||
[osCmd, help = sharedHelp, usage = osUsage, cmdName = "os"],
|
[osCmd, help = sharedHelp, usage = osUsage, cmdName = "os"],
|
||||||
[output, help = sharedHelp],
|
[output, help = sharedHelp, usage = clUse],
|
||||||
[update, help = updateHelp],
|
[update, help = updateHelp, usage = clUse],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue