From 8ef9f7bbeebb5849c2e777b6da856b63bf484778 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 18 Jul 2013 11:18:31 +0200 Subject: mothra: restore usage fix, document -a option in manual --- sys/man/1/mothra | 8 ++++++-- 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"); -- cgit v1.2.3