Skip to content

Commit

Permalink
prettify help message
Browse files Browse the repository at this point in the history
  • Loading branch information
juvenn committed Jan 17, 2010
1 parent e64112d commit c431303
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ def hello_command(self, message=None):
# Asking for help
def help_command(self, message=None):
message = xmpp.Message(self.request.POST)
help_msg = "It's not even alpha ready, but you could play with following commands:\n" \
"/hello\n about me\n" \
"/subscribe <url>\n/unsubscribe <url>\n subscribe or unsubscribe to a feed\n" \
"/ls <page_index>\n list subscriptions, default to page 1\n" \
"/help\n print help info\n"
help_msg = "It's not even alpha ready, but you could play with following commands:\n\n" \
"/hello -> about me\n\n" \
"/subscribe <url>\n/unsubscribe <url> -> subscribe or unsubscribe to a feed\n\n" \
"/ls <page_index> -> list subscriptions, default to page 1\n\n" \
"/help -> get help message\n"
message.reply(help_msg)
message.reply(message.body)

Expand Down

0 comments on commit c431303

Please sign in to comment.