Browse Source

return self.exit_code from do_help

Dan Christensen 11 years ago
parent
commit
020c4f802f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      attic/archiver.py

+ 1 - 0
attic/archiver.py

@@ -376,6 +376,7 @@ class Archiver:
             # FIXME:  If topic is one of the regular commands, show that help.
             # FIXME:  If topic is one of the regular commands, show that help.
             # Otherwise, show the default global help.
             # Otherwise, show the default global help.
             print('No help available on %s' % (args.topic,))
             print('No help available on %s' % (args.topic,))
+        return self.exit_code
 
 
     def run(self, args=None):
     def run(self, args=None):
         keys_dir = get_keys_dir()
         keys_dir = get_keys_dir()