From d0c47b1bc2dd963652ca97d534ed0e3a2f23db9f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 27 Jun 2009 01:48:41 +0100 Subject: Added debug code "option.names" Use "--debug option.names" to see all accepted (internal) option names. --- src/option.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/option.h') diff --git a/src/option.h b/src/option.h index c9b05d87..6809a27c 100644 --- a/src/option.h +++ b/src/option.h @@ -74,6 +74,7 @@ public: handled(false), parent(NULL), value(), wants_arg(name[name_len - 1] == '_') { TRACE_CTOR(option_t, "const char *, const char"); + DEBUG("option.names", "Option: " << name); } option_t(const option_t& other) : name(other.name), -- cgit v1.2.3