diff options
author | bptato <nincsnevem662@gmail.com> | 2023-01-05 02:01:23 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-01-05 02:01:48 +0100 |
commit | dcc5e065f990561eaa45d75ecb69f0a51dbf2c49 (patch) | |
tree | c281c6614acf1dd3b7edb1edc25d09e5c23ce2e8 /src/main.nim | |
parent | c0ccab9264ed99e75ee42197eed8af7e77e023f5 (diff) | |
download | chawan-dcc5e065f990561eaa45d75ecb69f0a51dbf2c49.tar.gz |
Get rid of eprint in place of stderr.write
eprint should only be used for debugging.
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 84b57bcf..4cbf3d0d 100644 --- a/src/main.nim +++ b/src/main.nim @@ -40,9 +40,9 @@ Options: -h, --help Print this usage message -v, --version Print version information""" if i == 0: - echo s + stdout.write(s & '\n') else: - eprint s + stderr.write(s & '\n') quit(i) var i = 0 |