Skip to content

Commit

Permalink
chore: syntax fix (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
vandot authored Feb 6, 2023
1 parent 5c558fb commit 3f7c124
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lodns.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.1.3"
version = "0.1.4"
author = "vandot"
description = "Simple DNS server for local development"
license = "MIT"
Expand Down
6 changes: 3 additions & 3 deletions src/lodns.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import std/[os, net, parseopt]
import std/[os, parseopt]
# Internal imports
import ./lodns/[actions, server]

Expand Down Expand Up @@ -54,11 +54,11 @@ proc main() =

if install or start:
(ip, port) = systemProbe()
if install == true:
if install:
install(ip, port, tld)
if uninstall:
uninstall(tld)
if start == true:
if start:
serve(ip, port, tld)
else:
writeHelp()
Expand Down

0 comments on commit 3f7c124

Please sign in to comment.