shithub: rgbds

Download patch

ref: bbf24916e6030ec6127d502ede1c6f28ef94b179
parent: 261503c7c82e89807e678087d0125e1cd61bd6fb
author: Anthony J. Bentley <[email protected]>
date: Tue Feb 24 21:16:41 EST 2015

Sync usage lines.

--- a/src/asm/main.c
+++ b/src/asm/main.c
@@ -211,7 +211,7 @@
 usage(void)
 {
 	printf(
-"Usage: rgbasm [-v] [-h] [-b chars] [-g chars] [-i path] [-o outfile]\n"
+"Usage: rgbasm [-hv] [-b chars] [-g chars] [-i path] [-o outfile]\n"
 "              [-p pad_value] file.asm\n");
 	exit(1);
 }
--- a/src/asm/rgbasm.1
+++ b/src/asm/rgbasm.1
@@ -6,8 +6,7 @@
 .Nd Game Boy assembler
 .Sh SYNOPSIS
 .Nm rgbasm
-.Op Fl v
-.Op Fl h
+.Op Fl hv
 .Op Fl b Ar chars
 .Op Fl g Ar chars
 .Op Fl i Ar path
--- a/src/link/main.c
+++ b/src/link/main.c
@@ -33,8 +33,8 @@
 usage(void)
 {
 	printf(
-"usage: rgblink [-t] [-m mapfile] [-n symfile] [-o outfile] [-s symbol]\n"
-"               [-z pad_value] file [...]\n");
+"usage: rgblink [-t] [-m mapfile] [-n symfile] [-o outfile] [-p pad_value]\n"
+"               [-s symbol] file [...]\n");
 	exit(1);
 }
 
@@ -52,7 +52,7 @@
 	if (argc == 1)
 		usage();
 
-	while ((ch = getopt(argc, argv, "l:m:n:o:p:s:t")) != -1) {
+	while ((ch = getopt(argc, argv, "m:n:o:p:s:t")) != -1) {
 		switch (ch) {
 		case 'm':
 			SetMapfileName(optarg);
--- a/src/link/rgblink.1
+++ b/src/link/rgblink.1
@@ -7,7 +7,6 @@
 .Sh SYNOPSIS
 .Nm rgblink
 .Op Fl t
-.Op Fl l Ar library
 .Op Fl m Ar mapfile
 .Op Fl n Ar symfile
 .Op Fl o Ar outfile