Take non-lowercase options into account
This commit is contained in:
parent
4992a8684c
commit
dcb847578d
1 changed files with 7 additions and 3 deletions
4
main.d
4
main.d
|
@ -222,6 +222,10 @@ int main(string[] args)
|
||||||
~ "' is not convertible to an integer value; must be a non-decimal number");
|
~ "' is not convertible to an integer value; must be a non-decimal number");
|
||||||
} catch (IniException e) {} // just do nothing; use the default setting
|
} catch (IniException e) {} // just do nothing; use the default setting
|
||||||
|
|
||||||
|
if (optFootnotes) esv.opts.boolOpts["include_footnotes"] = true;
|
||||||
|
if (optHeadings) esv.opts.boolOpts["include_headings"] = true;
|
||||||
|
if (optVerseNumbers) esv.opts.boolOpts["include_verse_numbers"] = true;
|
||||||
|
if (optPassageReferences) esv.opts.boolOpts["include_passage_references"] = true;
|
||||||
if (optNoFootnotes) esv.opts.boolOpts["include_footnotes"] = false;
|
if (optNoFootnotes) esv.opts.boolOpts["include_footnotes"] = false;
|
||||||
if (optNoHeadings) esv.opts.boolOpts["include_headings"] = false;
|
if (optNoHeadings) esv.opts.boolOpts["include_headings"] = false;
|
||||||
if (optNoVerseNumbers) esv.opts.boolOpts["include_verse_numbers"] = false;
|
if (optNoVerseNumbers) esv.opts.boolOpts["include_verse_numbers"] = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue