aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/w3mman
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2018-12-22 03:52:49 +0000
committerTatsuya Kinoshita <tats@debian.org>2018-12-22 03:52:49 +0000
commit56bf714a24376474b1543ce6d5b80f7d81e430f1 (patch)
tree3157cf4ab70d64e7b4194269396dca29a2ceabe5 /scripts/w3mman
parentw3mman support for section number during keyword search (diff)
downloadw3m-56bf714a24376474b1543ce6d5b80f7d81e430f1.tar.gz
w3m-56bf714a24376474b1543ce6d5b80f7d81e430f1.zip
Fix square brackets
Diffstat (limited to 'scripts/w3mman')
-rw-r--r--scripts/w3mman/w3mman.1.in4
-rw-r--r--scripts/w3mman/w3mman.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/w3mman/w3mman.1.in b/scripts/w3mman/w3mman.1.in
index b85b0a0..68e3afc 100644
--- a/scripts/w3mman/w3mman.1.in
+++ b/scripts/w3mman/w3mman.1.in
@@ -21,9 +21,9 @@ w3mman \- an interface to the on-line reference manuals via w3m(1)
.B w3mman
[
.BI \-M " path"
-] [
+] [ [
.I section
-] [
+]
.I page
]
.br
diff --git a/scripts/w3mman/w3mman.in b/scripts/w3mman/w3mman.in
index 2a33438..fae7a41 100644
--- a/scripts/w3mman/w3mman.in
+++ b/scripts/w3mman/w3mman.in
@@ -6,7 +6,7 @@ $SCRIPT = 'file:///$LIB/w3mman2html.cgi';
sub usage {
($_ = $0) =~ s@.*/@@;
- print STDERR "$_ [-M <path>] [<section>] <command>]\n";
+ print STDERR "$_ [-M <path>] [[<section>] <command>]\n";
print STDERR "$_ [-M <path>] [<section>] [-k <keyword>]\n";
print STDERR "$_ [-l <file>]\n";
exit 1;