summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmorph2
-rw-r--r--morphlib/__init__.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/morph b/morph
index 85870e5a..0c0789d5 100755
--- a/morph
+++ b/morph
@@ -18,4 +18,4 @@
import morphlib
-morphlib.app.Morph().run()
+morphlib.app.Morph(version=morphlib.__version__).run()
diff --git a/morphlib/__init__.py b/morphlib/__init__.py
index f0d79910..213241d8 100644
--- a/morphlib/__init__.py
+++ b/morphlib/__init__.py
@@ -20,6 +20,9 @@
import cliapp
+__version__ = '0.1'
+
+
class Error(cliapp.AppException):
'''Base for all morph exceptions that cause user-visible messages.'''