Index: app/src/mar/mar
===================================================================
--- app/src/mar/mar	(revision adb4c8d65ba8b406a1703d1c091bcf1af4bdfb3c)
+++ app/src/mar/mar	(revision 2d89d4bc829d3ca6b96523646f3a340ab8bbcbd6)
@@ -10,4 +10,6 @@
 #which is one of the parametres of the script
 #contact: d287572@atos.wmid.amu.edu.pl, walasiek@gmail.com
+
+my $version = '1.0';
 
 use lib "/usr/local/lib/utt";
@@ -37,4 +39,5 @@
 my $morfield='lem';
 my $tags=0;
+my $show_version = 0;
 
 #read configuration files###########################
@@ -90,9 +93,14 @@
 	   "action=s" => \$action,
 	   "help|h" => \$help,
-	   "space|s" => \$explicit_space
+	   "space|s" => \$explicit_space,
+       "version|v" => \$show_version,
    );
 
 
 
+if($show_version){
+    print "Version: $version\n";
+    exit 0;
+}
 
 if($help)
@@ -103,5 +111,5 @@
 Options:
    --pattern -e	PATTERN		Pattern.
-   --bos -E PATTERN             Segment serving as sentence beginning marker. [TODO]
+   --eos -E PATTERN             Segment serving as sentence beginning marker. [TODO]
    --macros=FILE		Read macrodefinitions from FILE. [TODO]
    --define=FILE		Add macrodefinitions from FILE. [TODO]
@@ -110,7 +118,8 @@
 				    s - search
 				    P - postprocess
-				(default pgP)
+				(default psP)
    --command			Print generated shell command and exit.
    --help -h			Print help.
+   --version -v         Script version
 
 In patern you can put any tag. Tags should begin with the @ character.
