lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] Wrong message in lynx -help


From: KIHARA Hideto
Subject: [Lynx-dev] Wrong message in lynx -help
Date: Sun, 19 Feb 2012 08:57:17 +0900
User-agent: Mutt/1.5.21 (2010-09-15)

I found a wrong message in lynx -help output:
message for '-html5_charsets' option is same as '-historical'.

% lynx -help
...
  -historical       toggles use of '>' or '-->' as terminator for comments (off)
  -html5_charsets   toggles use of '>' or '-->' as terminator for comments (off)
  -homepage=URL     set homepage separate from start page
...

Here is a patch.
--- src/LYMain.c.orig   2012-02-13 11:46:17.000000000 +0900
+++ src/LYMain.c        2012-02-14 20:14:41.000000000 +0900
@@ -3577,15 +3577,15 @@ soon as they are seen)"
       "historical",    4|TOGGLE_ARG,           historical_comments,
       "toggles use of '>' or '-->' as terminator for comments"
    ),
-   PARSE_SET(
-      "html5_charsets",        4|TOGGLE_ARG,           html5_charsets,
-      "toggles use of '>' or '-->' as terminator for comments"
-   ),
    PARSE_FUN(
       "homepage",      4|NEED_FUNCTION_ARG,    homepage_fun,
       "=URL\nset homepage separate from start page"
    ),
    PARSE_SET(
+      "html5_charsets",        4|TOGGLE_ARG,           html5_charsets,
+      "toggles use of HTML5 charset replacements"
+   ),
+   PARSE_SET(
       "image_links",   4|TOGGLE_ARG,           clickable_images,
       "toggles inclusion of links for all images"
    ),




reply via email to

[Prev in Thread] Current Thread [Next in Thread]