Fix option processing
authorHeiko Schlittermann <hs@schlittermann.de>
Thu, 01 Oct 2015 16:47:01 +0200
changeset 3 e26e2d5702bb
parent 0 3bfbc22cb61c
child 4 01d73aa9d30d
Fix option processing
schema2ldif
--- a/schema2ldif	Mon Nov 11 22:01:35 2013 +0100
+++ b/schema2ldif	Thu Oct 01 16:47:01 2015 +0200
@@ -19,8 +19,8 @@
 my @opt_additional_schemas = ();
 
 GetOptions(
-    'schema_dir=s@' => \@opt_schema_dirs,
-    'additional_schema=s@' => \@opt_additional_schemas,
+    'schema-dir=s@' => \@opt_schema_dirs,
+    'additional-schema=s@' => \@opt_additional_schemas,
 ) and @ARGV == 1 or pod2usage();
 
 # find the additional schema definitions