diff options
author | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2007-11-27 01:10:58 +0100 |
---|---|---|
committer | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2007-11-27 01:10:58 +0100 |
commit | 77f76725888920d10b527db5f291d704f0f5b26d (patch) | |
tree | 1c0e1874bcdc90352548f5125cbdb96643aa5002 /lib/LXRng/Context.pm | |
parent | 5c682b22600bbd08888af07f93422c1cd733609d (diff) |
Rework usage stats.
Diffstat (limited to 'lib/LXRng/Context.pm')
-rw-r--r-- | lib/LXRng/Context.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/LXRng/Context.pm b/lib/LXRng/Context.pm index dab03e3..3bc7a92 100644 --- a/lib/LXRng/Context.pm +++ b/lib/LXRng/Context.pm @@ -41,6 +41,7 @@ sub new { unless ref($config[0]) eq 'HASH' and exists($config[0]{$tree}); $$self{'config'} = $config[0]{$tree}; + $$self{'config'}{'usage'} ||= $$self{'config'}{'index'}; } if (exists $$self{'params'}{'v'} and $$self{'params'}{'v'}) { |