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
|
.SH SYNOPSIS
|
||||||
.B mothra
|
.B mothra
|
||||||
[
|
[
|
||||||
.B -dv
|
.B -dva
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
.B -m
|
.B -m
|
||||||
|
@ -56,6 +56,10 @@ There are a number of options:
|
||||||
Debug mode. Causes debug messages to appear in
|
Debug mode. Causes debug messages to appear in
|
||||||
.B $home/lib/mothra/mothra.err.
|
.B $home/lib/mothra/mothra.err.
|
||||||
.TP
|
.TP
|
||||||
|
.B -a
|
||||||
|
Alt display. Starts in alt display mode, see menu
|
||||||
|
commands table below.
|
||||||
|
.TP
|
||||||
.B -m
|
.B -m
|
||||||
Specify the
|
Specify the
|
||||||
.IR webfs (4)
|
.IR webfs (4)
|
||||||
|
|
|
@ -295,7 +295,7 @@ void main(int argc, char *argv[]){
|
||||||
switch(argc){
|
switch(argc){
|
||||||
default:
|
default:
|
||||||
Usage:
|
Usage:
|
||||||
fprint(2, "Usage: %s [-dva] [-m mtpt] [url]\n", argv[0]);
|
fprint(2, "Usage: %s [-dva] [-m mtpt] [url]\n", argv0);
|
||||||
exits("usage");
|
exits("usage");
|
||||||
case 0:
|
case 0:
|
||||||
url=getenv("url");
|
url=getenv("url");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue