aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argparser.py b/src/argparser.py
index 78cc0e0..6b89266 100644
--- a/src/argparser.py
+++ b/src/argparser.py
@@ -333,7 +333,7 @@ class ArgParser():
msg += ' %s' % opt[0]
else:
msg += ' %s(%s)' % opt
- sys.stderr.write(msg + '\n')
+ print(msg)
if exit_value is not None:
sys.exit(exit_value)
return False
@@ -354,7 +354,7 @@ class ArgParser():
msg = self.program + ': option used out of context: ' + opt
if opt != self.optmap[opt][0]:
msg += '(' + self.optmap[opt][0] + ')'
- sys.stderr.write(msg + '\n')
+ print(msg)
rc = False
if (not rc) and (exit_value is not None):
sys.exit(exit_value)