tests: tests_icode also use alterner.pl
[nit.git] / lib / opts.nit
index 59391cd..f668ba3 100644 (file)
 # You  are  allowed  to  redistribute it and sell it, alone or is a part of
 # another product.
 
+# Management of options on the command line
+module opts
+
 # Super class of all option's class
-class Option
+abstract class Option
        # Names for the option (including long and short ones)
        readable var _names: Array[String]
 
@@ -106,7 +109,7 @@ class OptionCount
 end
 
 # Option with one mandatory parameter
-class OptionParameter
+abstract class OptionParameter
        super Option
        protected fun convert(str: String): VALUE is abstract