about summary refs log tree commit diff stats
path: root/src/LYMain.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2020-02-23 22:07:29 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2020-02-23 22:07:29 +0000
commit6a29f4e16c142c62e3b17ad85ff01df2e5d75b4f (patch)
tree0d521603070641e0f6e47643d20557ce0522c664 /src/LYMain.c
parent4044c64089941f422a18fa35b599f03fd74390d6 (diff)
downloadlynx-snapshots-6a29f4e16c142c62e3b17ad85ff01df2e5d75b4f.tar.gz
snapshot of project "lynx", label v2-9-0dev_4k
Diffstat (limited to 'src/LYMain.c')
-rw-r--r--src/LYMain.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/LYMain.c b/src/LYMain.c
index 6d51ef13..90581881 100644
--- a/src/LYMain.c
+++ b/src/LYMain.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYMain.c,v 1.287 2020/01/21 22:19:23 tom Exp $
+ * $LynxId: LYMain.c,v 1.288 2020/02/23 21:20:05 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTTP.h>
@@ -209,6 +209,7 @@ BOOLEAN bold_name_anchors = FALSE;
 BOOLEAN LYcase_sensitive = CASE_SENSITIVE_ALWAYS_ON;
 BOOLEAN check_mail = CHECKMAIL;
 BOOLEAN child_lynx = FALSE;
+BOOLEAN dump_links_decoded = TRUE;
 BOOLEAN dump_links_inline = FALSE;
 BOOLEAN dump_links_only = FALSE;
 BOOLEAN dump_output_immediately = FALSE;
@@ -3620,6 +3621,10 @@ soon as they are seen)"
       "=NUMBER\nstarting count for lnk#.dat files produced by -crawl"
    ),
    PARSE_SET(
+      "list_decoded",	4|TOGGLE_ARG,		dump_links_decoded,
+      "with -dump, forces it to decode URL-encoded links"
+   ),
+   PARSE_SET(
       "list_inline",	4|TOGGLE_ARG,		dump_links_inline,
       "with -dump, forces it to show links inline with text"
    ),