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
Parameter inheritance fixes.
[command.git]
/
include
/
argument.h
diff --git
a/include/argument.h
b/include/argument.h
index 70d83c787d042ede1d59b791c1170fba3e520cdd..eee218fb7d4720b65193ec45979249abd688c78f 100644
(file)
--- a/
include/argument.h
+++ b/
include/argument.h
@@
-31,9
+31,12
@@
namespace command {
virtual ~Argument() { }
virtual void handle() {
- std::cout << "Argument::handle()" << std::endl;
this->call(std::string("A"));
}
+
+ virtual bool understand(const std::string &) {
+ return false;
+ }
};
}