Skip to content

Commit cf3d9d0

Browse files
committed
show and bump version
1 parent f05019d commit cf3d9d0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/bigwig.nim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import ./bigwigpkg/lib
2+
import ./bigwigpkg/version
23
import ./bigwigpkg/cli
34
import tables
45
import strformat
@@ -18,7 +19,7 @@ proc main*() =
1819
var args = commandLineParams()
1920

2021
if len(args) == 0 or not (args[0] in dispatcher):
21-
stderr.write_line "\nCommands: "
22+
stderr.write_line &"version: {bigwigVersion}\n\nCommands:"
2223
for k, v in dispatcher:
2324
echo &" {k:<13}: {v.description}"
2425
if len(args) > 0 and (args[0] notin dispatcher) and args[0] notin @["-h", "-help"]:

src/bigwigpkg/version.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
const bigwigVersion* = "0.0.1"
1+
const bigwigVersion* = "0.0.2"
22
const bigwigGitCommit* = staticExec("git rev-parse --verify HEAD")

0 commit comments

Comments
 (0)