aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-02-03 06:12:41 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-02-03 06:12:41 +0000
commit63dffdd551989100dc3ad845b1f5a2126a59be6e (patch)
tree2208cf1f19c74ad407ccc98e61f04579e58e75c0 /main.c
parent[w3m-dev 02972] (diff)
downloadw3m-63dffdd551989100dc3ad845b1f5a2126a59be6e.tar.gz
w3m-63dffdd551989100dc3ad845b1f5a2126a59be6e.zip
[w3m-dev 02964] Print data of forms when halfdump option is set
* backend.c (print_headers): print w3m-current-url and w3m-base-url * backend.c (print_formlist): deleted * backend.c (internal_get): remove "if (buf->formlist) {}" * file.c (print_internal_information): added * file.c (loadHTMLstream): if halfdump, print_internal_information if w3m_backend, print_internal_information * fm.h (DUMP_HALFEXTRA): added * main.c (-halfdump_extra): added From: TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index ae9f8eb..97452ef 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.77 2002/01/31 17:54:52 ukai Exp $ */
+/* $Id: main.c,v 1.78 2002/02/03 06:12:41 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -562,6 +562,8 @@ MAIN(int argc, char **argv, char **envp)
w3m_dump = (DUMP_HEAD | DUMP_SOURCE | DUMP_EXTRA);
else if (!strcmp("-halfdump", argv[i]))
w3m_dump = DUMP_HALFDUMP;
+ else if (!strcmp("-halfdump_extra", argv[i]))
+ w3m_dump = DUMP_HALFDUMP | DUMP_HALFEXTRA;
else if (!strcmp("-halfload", argv[i])) {
w3m_dump = 0;
w3m_halfload = TRUE;