summaryrefslogtreecommitdiff
path: root/option.cc
diff options
context:
space:
mode:
Diffstat (limited to 'option.cc')
-rw-r--r--option.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/option.cc b/option.cc
index 0581dab5..6cd9abbb 100644
--- a/option.cc
+++ b/option.cc
@@ -39,8 +39,8 @@ namespace {
op_bool_tuple find_option(scope_t& scope, const string& name)
{
char buf[128];
- std::strcpy(buf, "option_");
- char * p = &buf[7];
+ std::strcpy(buf, "opt_");
+ char * p = &buf[4];
foreach (char ch, name) {
if (ch == '-')
*p++ = '_';