Commit 2627b952 authored by Jacek Sowiński's avatar Jacek Sowiński

Update synopsis for AddCommand

parent 9f48c518
...@@ -134,7 +134,10 @@ class AddCommand(Command): ...@@ -134,7 +134,10 @@ class AddCommand(Command):
self.error(self.usage()) self.error(self.usage())
def usage(self): def usage(self):
return """Synopsis: add <text>""" return """Synopsis:
add <text>
add -f <file>
add -f -"""
def help(self): def help(self):
return """\ return """\
...@@ -149,4 +152,6 @@ This subcommand automatically adds the creation date to the added item. ...@@ -149,4 +152,6 @@ This subcommand automatically adds the creation date to the added item.
todo number (not the dependency number). todo number (not the dependency number).
Example: add "Subtask partof:1" Example: add "Subtask partof:1"
-f : Add todo items from specified <file> or from standard input.
""" """
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment