Skip to content

Commit

Permalink
display version
Browse files Browse the repository at this point in the history
  • Loading branch information
teras committed Jan 6, 2020
1 parent 801d2b1 commit 128d421
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dpackeropts.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const VERSION* = "v0.1"

proc hasArg*(args:var seq[string], a:string, position:int = -1) : bool =
for i in 0..<args.len:
if args[i]==a:
Expand Down Expand Up @@ -31,6 +33,8 @@ const fullHelp* = """
dpacker: A meta-package interface to most common packaging systems.
Instead of learning the syntax of a package manager, let dpacker do the translation for you.
Version """ & VERSION & """
Usage: dpacker [--FACE] [--TARGET] OTHER_OPTIONS...
Expand All @@ -43,4 +47,4 @@ List of valid --FACE options:
List of valid --TARGET options:
""" & targetsList
""" & targetsList

0 comments on commit 128d421

Please sign in to comment.