Bugfix for new HTTP<->CLI functionality.

This commit is contained in:
Jonathan Bernard
2018-10-03 03:42:10 -05:00
parent e0eb8fd4c2
commit 969af93425
2 changed files with 3 additions and 3 deletions

View File

@@ -196,5 +196,5 @@ proc queryParamsToCliArgs*(queryParams: StringTableRef): seq[string] =
if k.startsWith("arg"): result.add(v)
else :
result[1].add("--" & k)
if v != "true": result[1].add(v) # support things like ?verbose=true -> cmd --verbose
result.add("--" & k)
if v != "true": result.add(v) # support things like ?verbose=true -> cmd --verbose