Skip to content

Commit

Permalink
testCommandeer options formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fenekku committed Apr 28, 2014
1 parent e7d2d7d commit abf7126
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions testCommandeer.nim
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ import commandeer

proc usage(): string =
var options = newSeq[string]()
options.add("--[a]lpha=a\tAdd <a> to <number>")
options.add("--[h]elp\tShow this help message")
options.add("--[o]utside\tIf --alpha option used, add a after squaring")
options.add("--[t]esting\tTurn on unittests")
options.add("--[v]ersion\tShow the version number")
options.add("OPTIONS:")
options.add("\t--[a]lpha=a\tAdd <a> to <number>")
options.add("\t--[h]elp\tShow this help message")
options.add("\t--[o]utside\tIf --alpha option used, add a after squaring")
options.add("\t--[t]esting\tTurn on unittests")
options.add("\t--[v]ersion\tShow the version number")
return "Usage: testCommandeer <number> <squareIt> [OPTIONS]\n" &
join(options, "\n")

Expand Down

0 comments on commit abf7126

Please sign in to comment.