aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-12-16 23:40:30 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-12-16 23:40:30 +0100
commit955ec52091aa268e78baae52b89ca7eec187d9c6 (patch)
tree6cd19dcbc4cd599669c6fd55ba44448453d6aac1
parent9ca82ee13e57a866ad707047d04b5353f855d1b0 (diff)
downloadbin-955ec52091aa268e78baae52b89ca7eec187d9c6.tar.xz
todo: Add --id and --file to docstring
-rwxr-xr-xtodo10
1 files changed, 6 insertions, 4 deletions
diff --git a/todo b/todo
index 3ef47e4..a4c57f1 100755
--- a/todo
+++ b/todo
@@ -1,13 +1,15 @@
#!/usr/bin/env python3
"""
-Usage: todo [--priority | --date] [--reverse]
+Usage: todo [--id | --date | --priority] [--reverse] [--file <file>]
Options:
- -p --priority Sort by priority
+ -i --id Sort by ID
-d --date Sort by date
+ -p --priority Sort by priority
-r --reverse Reverse sort order
- -h --help Show this screen.
- -v --version Show version.
+ -f --file Path to todo file
+ -h --help Show this screen
+ -v --version Show version
"""
from sys import exit