summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-01-15 23:27:16 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-01-15 23:27:16 +0100
commitf7fd65b9aae4e3fa7d1f19c8d93a912f4d492b69 (patch)
treeae32f6b6fe245f1d13ffe16d1503f8c3b4be80cc /src/global.cc
parentcd5be5f43256cc0c6122414a2884bb87da775435 (diff)
downloadfork-ledger-f7fd65b9aae4e3fa7d1f19c8d93a912f4d492b69.tar.gz
fork-ledger-f7fd65b9aae4e3fa7d1f19c8d93a912f4d492b69.tar.bz2
fork-ledger-f7fd65b9aae4e3fa7d1f19c8d93a912f4d492b69.zip
Fix -i short-option for --init-file
Bugfix for #1102 Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.cc b/src/global.cc
index bf1f453c..6a30cafb 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -323,7 +323,7 @@ option_t<global_scope_t> * global_scope_t::lookup_option(const char * p)
OPT_(help);
break;
case 'i':
- OPT(init_file_);
+ OPT_(init_file_);
break;
case 'o':
OPT(options);