Compare commits

...

2 Commits

Author SHA1 Message Date
Cadey Ratio 3266e569dd remove this old function 2016-04-08 09:22:57 -07:00
Christine Dodrill 2873351496 remove these bounds checks 2016-02-04 17:42:08 -08:00
3 changed files with 0 additions and 10 deletions

View File

@ -9,9 +9,6 @@ name in the secret store.
""" """
proc code*(root: string, args: seq[string]) = proc code*(root: string, args: seq[string]) =
if args.len != 1:
quit "I need a machine name"
try: try:
var var
keyFileName = args[0] keyFileName = args[0]

View File

@ -17,9 +17,6 @@ available for `totptool code` instantly.
""" """
proc newSecret*(root: string, args: seq[string]) = proc newSecret*(root: string, args: seq[string]) =
if args.len != 1:
quit "I need a machine name"
var var
res = generateUUID()[0 .. 19] res = generateUUID()[0 .. 19]
body: string body: string

View File

@ -27,10 +27,6 @@ Subcommands:
totptool tracks totptool tracks
""" """
proc writeHelp() =
echo usageHelp
quit 2
proc writeVersion(): string = proc writeVersion(): string =
const const
gitlog = staticExec "git log -1" gitlog = staticExec "git log -1"