summaryrefslogtreecommitdiff
path: root/alot/commands/globals.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-10-16 17:01:44 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2011-10-16 17:01:44 +0100
commit5eb577571562fdda24c43c728c818f5239ee2e16 (patch)
tree30a100c346871c9cd18a35698d61b6e11001e33a /alot/commands/globals.py
parent16b530270c7b4f2f85df05f9b224a14a4e62d624 (diff)
use blocking notification in help
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r--alot/commands/globals.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index 0da6ba18..4d825b78 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -344,9 +344,10 @@ class HelpCommand(Command):
ui.logger.debug('HELP %s' % self.commandname)
parser = commands.lookup_parser(self.commandname, ui.mode)
if parser:
- ui.notify(parser.format_help())
+ ui.notify(parser.format_help(), block=True)
else:
- ui.notify('command not known: %s' % self.commandname)
+ ui.notify('command not known: %s' % self.commandname,
+ priority='error')
@registerCommand(MODE, 'compose', help='compose a new email',