From 2caa500a806ec9f2f74386c099bda1f28aa2811a Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Sat, 5 Oct 2013 18:27:33 +0100 Subject: [PATCH] Updated version information. --- babel.nim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/babel.nim b/babel.nim index e59762f..14e044f 100644 --- a/babel.nim +++ b/babel.nim @@ -29,6 +29,10 @@ Commands: update [url] Updates package list. A package list URL can be optionally specified. search pkg/tag Searches for a specified package. Search is performed by tag and by name. list Lists all packages. + +Options: + -h Print this help message. + -v Print version information. """ babelVersion = "0.1.0" defaultPackageURL = "https://github.com/nimrod-code/packages/raw/master/packages.json" @@ -38,7 +42,7 @@ proc writeHelp() = quit(QuitSuccess) proc writeVersion() = - echo(babelVersion) + echo("babel v$# compiled at $# $#" % [babelVersion, compileDate, compileTime]) quit(QuitSuccess) proc parseCmdLine(): TAction =