diff --git a/core/doc/pm3argparse.rst b/core/doc/pm3argparse.rst
index b787f1144335b62a4c102dab7464675678d1242e..a20dbf70a86524e322c3561ac2dd7293d2a4c305 100644
--- a/core/doc/pm3argparse.rst
+++ b/core/doc/pm3argparse.rst
@@ -18,7 +18,35 @@ simplification. It provides a set of standard arguments you just need to
activate for your action plus it comes with some verification functionality for
input.
-.. synopsis/ example
+.. testcode:: helper
+ :hide:
+
+ from promod3.core import pm3argparse
+
+ parser = pm3argparse.PM3ArgumentParser('Dummy')
+ parser.AddAlignment()
+ parser.AssembleParser()
+
+ try:
+ opts = parser.Parse(['-h'])
+ except SystemExit, sysex:
+ if sysex.code == 0:
+ pass
+
+.. doctest:: pm3argparse
+
+ '''\
+ Place the description of your script right in the file and import
+ it via '__doc__' as description to the parser ('-h', '--help').\
+ '''
+
+ from promod3.core import pm3argparse
+
+ parser = pm3argparse.PM3ArgumentParser(__doc__)
+ parser.AddAlignment()
+ parser.AssembleParser()
+ opts = parser.Parse()
+
Argument Parser
--------------------------------------------------------------------------------