Fix --nimbledir for c command and separate flags into actions.

This commit is contained in:
Dominik Picheta 2016-12-22 14:38:22 +01:00
commit cb1248a9b4
2 changed files with 51 additions and 31 deletions

View file

@ -96,6 +96,10 @@ proc displayDebug*(category, msg: string) =
## Convenience for displaying debug messages.
display(category, msg, priority = DebugPriority)
proc displayDebug*(msg: string) =
## Convenience for displaying debug messages with a default category.
displayDebug("Debug:", msg)
proc displayTip*() =
## Called just before Nimble exits. Shows some tips for the user, for example
## the amount of messages that were suppressed and how to show them.