Updated version information.
This commit is contained in:
parent
a38f29f971
commit
2caa500a80
1 changed files with 5 additions and 1 deletions
|
|
@ -29,6 +29,10 @@ Commands:
|
||||||
update [url] Updates package list. A package list URL can be optionally specified.
|
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.
|
search pkg/tag Searches for a specified package. Search is performed by tag and by name.
|
||||||
list Lists all packages.
|
list Lists all packages.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
-h Print this help message.
|
||||||
|
-v Print version information.
|
||||||
"""
|
"""
|
||||||
babelVersion = "0.1.0"
|
babelVersion = "0.1.0"
|
||||||
defaultPackageURL = "https://github.com/nimrod-code/packages/raw/master/packages.json"
|
defaultPackageURL = "https://github.com/nimrod-code/packages/raw/master/packages.json"
|
||||||
|
|
@ -38,7 +42,7 @@ proc writeHelp() =
|
||||||
quit(QuitSuccess)
|
quit(QuitSuccess)
|
||||||
|
|
||||||
proc writeVersion() =
|
proc writeVersion() =
|
||||||
echo(babelVersion)
|
echo("babel v$# compiled at $# $#" % [babelVersion, compileDate, compileTime])
|
||||||
quit(QuitSuccess)
|
quit(QuitSuccess)
|
||||||
|
|
||||||
proc parseCmdLine(): TAction =
|
proc parseCmdLine(): TAction =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue