diff options
author | bptato <nincsnevem662@gmail.com> | 2023-09-20 15:18:23 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-09-20 15:18:23 +0200 |
commit | 29802269045c5eeb137a85d067120c5c6c7a6ed2 (patch) | |
tree | 2b85d357ab395292177f3f5e131b0f23803816ab /src/main.nim | |
parent | 38ada8121ea2a76720bb7188940d1d9d4b0a1c1d (diff) | |
download | chawan-29802269045c5eeb137a85d067120c5c6c7a6ed2.tar.gz |
Accept bare strings in -o, fix -o with missing newline
* Bare strings are now allowed when specifying config options through -o. * Fix a bug where options specified with -o would be disregarded unless a newline was included. * (Also, add a TOML stringifier routine for debugging.)
Diffstat (limited to 'src/main.nim')
-rw-r--r-- | src/main.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.nim b/src/main.nim index 16a1a73e..ef8bdbbb 100644 --- a/src/main.nim +++ b/src/main.nim @@ -109,7 +109,7 @@ while i < params.len: conf.css.stylesheet &= getnext() proc popt() = - conf.parseConfig(getCurrentDir(), getnext()) + conf.parseConfig(getCurrentDir(), getnext(), laxnames = true) proc phelp() = help(0) |