pastoob: Fix displayed help for post

This commit is contained in:
Laurent Bachelier 2011-04-26 00:05:14 +02:00
commit 61c1aef493

View file

@ -71,7 +71,7 @@ class Pastoob(ReplApplication):
The filename can be '-' for reading standard input (pipe).
"""
if not filename:
print >>sys.stderr, 'This command takes an argument: %s' % self.get_command_help('get', short=True)
print >>sys.stderr, 'This command takes an argument: %s' % self.get_command_help('post', short=True)
return 1
if filename is None or filename == '-':