diff options
author | kitsunyan | 2018-04-09 21:28:32 +0000 |
---|---|---|
committer | kitsunyan | 2018-04-09 21:28:32 +0000 |
commit | 8e43dfdecb444579e19e2dff5c070614687f426d (patch) | |
tree | 3c40e1937a891a749ed4c5a5ecdaaf2ea49f54e2 /src/main.nim | |
parent | 03c0242805a02dc90f3ab92f1aba2ba2f68200b5 (diff) |
Replace more variables on privileges drop
Diffstat (limited to 'src/main.nim')
-rw-r--r-- | src/main.nim | 4 |
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() |