diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/argparser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/argparser.py b/src/argparser.py index 61312f3..47e9293 100644 --- a/src/argparser.py +++ b/src/argparser.py @@ -202,7 +202,8 @@ class ArgParser(): def unrecognised(arg): self.unrecognisedCount += 1 if self.unrecognisedCount <= 5: - sys.stderr.write('%s: warning: unrecognised option %s\n' % (self.program, arg)) + self.__print('%s: warning: unrecognised option %s' % (self.program, arg)) + self.__out.flush() self.rc = False while len(queue) != 0: |