Added debug code "option.names"
Use "--debug option.names" to see all accepted (internal) option names.
This commit is contained in:
parent
7b05595699
commit
d0c47b1bc2
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ public:
|
||||||
handled(false), parent(NULL), value(),
|
handled(false), parent(NULL), value(),
|
||||||
wants_arg(name[name_len - 1] == '_') {
|
wants_arg(name[name_len - 1] == '_') {
|
||||||
TRACE_CTOR(option_t, "const char *, const char");
|
TRACE_CTOR(option_t, "const char *, const char");
|
||||||
|
DEBUG("option.names", "Option: " << name);
|
||||||
}
|
}
|
||||||
option_t(const option_t& other)
|
option_t(const option_t& other)
|
||||||
: name(other.name),
|
: name(other.name),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue