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
Added mechanism to understand passed Option without value.
[command.git]
/
include
/
argument.h
diff --git
a/include/argument.h
b/include/argument.h
index 82954eb6fd3a5b8fa2b46841f110973d2def3f6b..53dea343344e8b3b1bf42ab301551135eb9d33c0 100644
(file)
--- a/
include/argument.h
+++ b/
include/argument.h
@@
-16,6
+16,8
@@
namespace command {
*
* Example:
* ./myprog ARGUMENT
+ * ./myprog /path/to/file
+ * ./myprog "some argument"
*/
template<typename ArgumentType>
class Argument : public Parameter, public Callable<ArgumentType> {