aboutsummaryrefslogtreecommitdiff
path: root/src/main.nim
diff options
context:
space:
mode:
authorkitsunyan2018-04-09 21:28:32 +0000
committerkitsunyan2018-04-09 21:28:32 +0000
commit8e43dfdecb444579e19e2dff5c070614687f426d (patch)
tree3c40e1937a891a749ed4c5a5ecdaaf2ea49f54e2 /src/main.nim
parent03c0242805a02dc90f3ab92f1aba2ba2f68200b5 (diff)
Replace more variables on privileges drop
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.nim b/src/main.nim
index 58cb47e..467dc48 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -184,8 +184,8 @@ proc handleHelp(operation: OperationType) =
discard
const
- version = $getenv("PROG_VERSION")
- copyright = $getenv("PROG_COPYRIGHT")
+ version = getEnv("PROG_VERSION")
+ copyright = getEnv("PROG_COPYRIGHT")
proc handleVersion(): int =
echo()