diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-07-18 11:18:31 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-07-18 11:18:31 +0200 |
commit | 8ef9f7bbeebb5849c2e777b6da856b63bf484778 (patch) | |
tree | fed001ddbf1d0c641af9a7eb279980904038bf3d | |
parent | 26e93aa49cea698684f8a5152a87a1662fc28b00 (diff) |
mothra: restore usage fix, document -a option in manual
-rw-r--r-- | sys/man/1/mothra | 8 | ||||
-rw-r--r-- | sys/src/cmd/mothra/mothra.c | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/man/1/mothra b/sys/man/1/mothra index 034972b4a..b552463f7 100644 --- a/sys/man/1/mothra +++ b/sys/man/1/mothra @@ -4,7 +4,7 @@ mothra \- retrieve and display World-Wide Web files .SH SYNOPSIS .B mothra [ -.B -dv +.B -dva ] [ .B -m @@ -52,10 +52,14 @@ the environment variable .PP There are a number of options: .TP -.B -d +.B -d Debug mode. Causes debug messages to appear in .B $home/lib/mothra/mothra.err. .TP +.B -a +Alt display. Starts in alt display mode, see menu +commands table below. +.TP .B -m Specify the .IR webfs (4) diff --git a/sys/src/cmd/mothra/mothra.c b/sys/src/cmd/mothra/mothra.c index cbe609498..e2788e6ba 100644 --- a/sys/src/cmd/mothra/mothra.c +++ b/sys/src/cmd/mothra/mothra.c @@ -295,7 +295,7 @@ void main(int argc, char *argv[]){ switch(argc){ default: Usage: - fprint(2, "Usage: %s [-dva] [-m mtpt] [url]\n", argv[0]); + fprint(2, "Usage: %s [-dva] [-m mtpt] [url]\n", argv0); exits("usage"); case 0: url=getenv("url"); |