dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
command.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add possibility to set MultiValue Options.
[command.git]
/
include
/
required.h
diff --git
a/include/required.h
b/include/required.h
index a4e062201430dec369dc3b49bbc96273c8c12014..726f6ac983640e8e7cab7baf09a998de39039890 100644
(file)
--- a/
include/required.h
+++ b/
include/required.h
@@
-69,7
+69,16
@@
namespace command {
*/
virtual bool isUsed() {
return parameter->isUsed();
*/
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);
+ }
};
}
};
}