From bc7f9c90263523dc9c19c63c520cbc8f46c3cbdb Mon Sep 17 00:00:00 2001 From: Dai Sato Date: Wed, 5 Apr 2006 14:18:53 +0000 Subject: apply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006. --- scripts/w3mman/w3mman.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/w3mman/w3mman.in') diff --git a/scripts/w3mman/w3mman.in b/scripts/w3mman/w3mman.in index 6c6f65d..6a27e70 100644 --- a/scripts/w3mman/w3mman.in +++ b/scripts/w3mman/w3mman.in @@ -8,6 +8,7 @@ sub usage { ($_ = $0) =~ s@.*/@@; print STDERR "$_ [-M ] [[
] ]\n"; print STDERR "$_ [-M ] [-k ]\n"; + print STDERR "$_ [-l ]\n"; exit 1; } @@ -20,6 +21,10 @@ while (@ARGV) { } elsif (/^-k$/) { @ARGV || &usage(); $query = "?keyword=" . &form_encode(shift @ARGV); + } elsif (/^-l$/) { + @ARGV || &usage(); + $query = "?quit=ok&local=" . &form_encode(shift @ARGV); + $query .= "&pwd=" . &form_encode($ENV{'PWD'}); } elsif (/^-/) { &usage(); } elsif (/^\d/ || $_ eq 'n') { -- cgit v1.2.3