mothra: restore usage fix, document -a option in manual
This commit is contained in:
parent
26e93aa49c
commit
8ef9f7bbee
2 changed files with 7 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue