aboutsummaryrefslogtreecommitdiff
path: root/src/main.nim
diff options
context:
space:
mode:
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()