shithub: riscv

Download patch

ref: 8ef9f7bbeebb5849c2e777b6da856b63bf484778
parent: 26e93aa49cea698684f8a5152a87a1662fc28b00
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");
--