Skip to content
Browse files

Merge branch 'develop'

* develop:
  bumping up version number
  adding -w option to the update-show
  updating the -h options
  • Loading branch information...
2 parents b5f4736 + 3c788aa commit 0ae85a03a2898456f757bd09f1c2f448212f5728 @zachseifts committed Nov 21, 2012
Showing with 20 additions and 3 deletions.
  1. +19 −2 bin/wid
  2. +1 −1 setup.py
View
21 bin/wid
@@ -1,8 +1,9 @@
#!/usr/bin/env python
-from argparse import ArgumentParser
+from argparse import ArgumentParser, RawDescriptionHelpFormatter
from getpass import getuser
from os import path
+from textwrap import dedent
from whatidid import commands
@@ -54,7 +55,23 @@ class Main(object):
if __name__ == '__main__':
- parser = ArgumentParser(description=u'Keeping track of what you did this week')
+ description = dedent('''\
+ A minimalist command line app for life logging.
+
+ Commands:
+
+ updates
+
+ wid update\t\tAdd an update to your updates. -m is required, -t is optional
+ wid update-show\tLists all of your current updates. -w is optional
+
+ todos
+
+ wid todo\t\tAdd an todo to your todos. -m is required, -t is optional.
+ wid todo-show\t\tLists all of your todos.
+
+ ''')
+ parser = ArgumentParser(formatter_class=RawDescriptionHelpFormatter, description=description)
parser.add_argument('command', metavar='COMMAND', type=str,
help=u'A command, ie: update, update-show, update-mail')
parser.add_argument('-m', '--message', type=str, metavar='"A message"', help=u'A message')
View
2 setup.py
@@ -1,7 +1,7 @@
from setuptools import setup
setup(name='whatidid',
- version='1.6.3',
+ version='1.6.4',
description='A minimalist command line app for life logging.',
long_description='An application that helps you log your life, see the github page for more info.',
classifiers=[

0 comments on commit 0ae85a0

Please sign in to comment.
Something went wrong with that request. Please try again.