about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-09-06 00:12:02 +0200
committerbptato <nincsnevem662@gmail.com>2023-09-06 00:12:02 +0200
commit257fa69d7e06bd0a6f22dd0394ad5fab1527dad0 (patch)
tree972f784097394366ac60e343c0d38db3035dd04b
parent8ec81084435a1516f021299130228d6ffe6bb389 (diff)
downloadchawan-257fa69d7e06bd0a6f22dd0394ad5fab1527dad0.tar.gz
main: remove stray eprint, update -o info text
QUIT was old-style declarative keybinding syntax, this is no longer
supported.
-rw-r--r--src/main.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.nim b/src/main.nim
index e98312bc..eaee9e52 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -37,7 +37,7 @@ Options:
     --                          Interpret all following arguments as URLs
     -d, --dump                  Print page to stdout
     -c, --css <stylesheet>      Pass stylesheet (e.g. -c 'a{color: blue}')
-    -o, --opt <config>          Pass config options (e.g. -o 'page.q="QUIT"')
+    -o, --opt <config>          Pass config options (e.g. -o 'page.q="quit()"')
     -T, --type <type>           Specify content mime type
     -I, --input-charset <enc>   Specify document charset
     -O, --display-charset <enc> Specify display charset
@@ -83,7 +83,6 @@ while i < params.len:
 
   proc pvisual() =
     visual = true
-    eprint "visual true"
 
   proc ptype() =
     ctype = some(getnext())