summaryrefslogtreecommitdiffstats
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
commit56d0646c24a660fa5ea0596dbd6e8df6dfe5c12f (patch)
tree3aafa94b64561ad4875f504260b561f29314df3d
parentd96716803ba81b388bf10d936c5c57a2a7283665 (diff)
downloadtodo-56d0646c24a660fa5ea0596dbd6e8df6dfe5c12f.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