Skip to content

Commit

Permalink
debug mode message
Browse files Browse the repository at this point in the history
  • Loading branch information
hdashnow committed Mar 10, 2021
1 parent 3829806 commit 8e9a7e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/strling.nim
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ proc main*() =
var args = commandLineParams()

stderr.write_line &"\nstrling version: {strlingVersion}"
when defined(debug):
stderr.write_line &"compiled in debug mode"
if len(args) == 0 or not (args[0] in dispatcher):
stderr.write_line "\nCommands: "
for k, v in dispatcher:
Expand Down

0 comments on commit 8e9a7e8

Please sign in to comment.