summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-27 01:48:41 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-27 01:48:41 +0100
commitd0c47b1bc2dd963652ca97d534ed0e3a2f23db9f (patch)
tree3af80cdd0c6e85081d313415672680bd6ea19db8 /src/option.h
parent7b0559569986545b31a925ccb826c0ea1ca4690f (diff)
downloadfork-ledger-d0c47b1bc2dd963652ca97d534ed0e3a2f23db9f.tar.gz
fork-ledger-d0c47b1bc2dd963652ca97d534ed0e3a2f23db9f.tar.bz2
fork-ledger-d0c47b1bc2dd963652ca97d534ed0e3a2f23db9f.zip
Added debug code "option.names"
Use "--debug option.names" to see all accepted (internal) option names.
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h1
1 files changed, 1 insertions, 0 deletions
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),