Removed deprecated 'primary' flag
Change-Id: I7cfa0dbd38fe40edebfce2ee42b1743cacf54c5c
diff --git a/script/korapxml2krill b/script/korapxml2krill
index a6074f6..791d115 100644
--- a/script/korapxml2krill
+++ b/script/korapxml2krill
@@ -193,7 +193,9 @@
'config|cfg=s' => \(my $cfg_file),
'log|l=s' => \($cfg{log}),
'anno|a=s' => \@anno,
- 'primary|p!' => \(my $primary),
+ 'primary|p!' => sub {
+ warn 'Primary flag no longer supported!';
+ },
'pretty|y' => \(my $pretty),
'jobs|j=i' => \($cfg{jobs}),
'koral|k=f' => \($cfg{koral}),
@@ -500,7 +502,6 @@
gzip => $gzip,
log => $log,
koral => ($cfg{koral} // $KORAL_VERSION),
- primary => $primary,
pretty => $pretty,
anno => \@filtered_anno,
non_word_tokens => ($cfg{non_word_tokens} // 0),
@@ -1153,13 +1154,6 @@
Can be set multiple times.
-=item B<--primary|-p>
-
-Output primary data or not. Defaults to C<true>.
-Can be flagged using C<--no-primary> as well.
-This is I<deprecated>.
-
-
=item B<--non-word-tokens|-nwt>
Tokenize non-word tokens like word tokens (defined as matching