Add possibility to set MultiValue Options.
[command.git] / include / required.h
index a4e062201430dec369dc3b49bbc96273c8c12014..726f6ac983640e8e7cab7baf09a998de39039890 100644 (file)
@@ -69,7 +69,16 @@ namespace command {
          */
         virtual bool isUsed() {
             return parameter->isUsed();
-        };
+        }
+
+        /**
+         * Wrapper method around passed Parameter::valuePosition().
+         *
+         * \inheritdoc
+         */
+        virtual unsigned int valuePosition(const std::string & value) {
+            return parameter->valuePosition(value);
+        }
     };
 }