diff --git a/nmrstarlib/__main__.py b/nmrstarlib/__main__.py
index <HASH>..<HASH> 100644
--- a/nmrstarlib/__main__.py
+++ b/nmrstarlib/__main__.py
@@ -51,5 +51,5 @@ def main(cmdargs):
         csviewer.csview(view=True)
 
 
-args = docopt.docopt(__doc__)
+args = docopt.docopt(__doc__, version="1.0.5")
 main(args)
Added version to command-line interface.