git: 9front

Download patch

ref: 1cc7c33cb3f79649766b1cf714f6d7d08424a557
parent: 5e5dae744a50d3b21c6924eb9a7fb56ce9bc055b
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Thu Jul 18 07:18:31 EDT 2013

mothra: restore usage fix, document -a option in manual

--- a/sys/man/1/mothra
+++ b/sys/man/1/mothra
@@ -4,7 +4,7 @@
 .SH SYNOPSIS
 .B mothra
 [
-.B -dv
+.B -dva
 ]
 [
 .B -m
@@ -52,9 +52,13 @@
 .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
--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -295,7 +295,7 @@
 	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");
--