# HG changeset patch # User Jeff Hammel # Date 1421962879 28800 # Node ID 82a18c9337c3ccde5373b711fd4721d942b233b9 # Parent e3c3ee7b5ccf77b521077e3394de3fa0395652b6 more stubbing diff -r e3c3ee7b5ccf -r 82a18c9337c3 numerics/manipulate.py --- a/numerics/manipulate.py Thu Jan 22 13:33:56 2015 -0800 +++ b/numerics/manipulate.py Thu Jan 22 13:41:19 2015 -0800 @@ -40,6 +40,10 @@ if options.list_entries: raise NotImplementedError('TODO') # -> record TODO items + else: + # print help + print (parser.help()) + parser.exit() if __name__ == '__main__': main() diff -r e3c3ee7b5ccf -r 82a18c9337c3 setup.py --- a/setup.py Thu Jan 22 13:33:56 2015 -0800 +++ b/setup.py Thu Jan 22 13:41:19 2015 -0800 @@ -17,6 +17,7 @@ kw['entry_points'] = """ [console_scripts] interpolate = numerics.interpolation:main + manipulate = numerics.manipulate:main plot = numerics.plot:main read-csv = numerics.read:main smooth = numerics.smooth:main @@ -26,7 +27,6 @@ # TODO: # cleanse = numerics.clean:main # fold = numerics.fold:main -# manipulate = numerics.manipulate:main kw['install_requires'] = dependencies except ImportError: from distutils.core import setup