aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--main.c2
-rw-r--r--test/ChangeLog4
-rw-r--r--test/badargs.ok2
4 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e54aafea..74bc3687 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-24 Arnold D. Robbins <arnold@skeeve.com>
+
+ * main.c (usage): Put text for `-n' *after* text for `-m'.
+ Report from Robert P. J. Day <rpjday@crashcourse.ca>.
+
2014-07-10 Arnold D. Robbins <arnold@skeeve.com>
* awkgram.y (check_for_bad): New routine to do the fatal message,
diff --git a/main.c b/main.c
index 47fd51c9..422f1406 100644
--- a/main.c
+++ b/main.c
@@ -820,9 +820,9 @@ usage(int exitval, FILE *fp)
fputs(_("\t-i includefile\t\t--include=includefile\n"), fp);
fputs(_("\t-l library\t\t--load=library\n"), fp);
fputs(_("\t-L [fatal]\t\t--lint[=fatal]\n"), fp);
- fputs(_("\t-n\t\t\t--non-decimal-data\n"), fp);
fputs(_("\t-M\t\t\t--bignum\n"), fp);
fputs(_("\t-N\t\t\t--use-lc-numeric\n"), fp);
+ fputs(_("\t-n\t\t\t--non-decimal-data\n"), fp);
fputs(_("\t-o[file]\t\t--pretty-print[=file]\n"), fp);
fputs(_("\t-O\t\t\t--optimize\n"), fp);
fputs(_("\t-p[file]\t\t--profile[=file]\n"), fp);
diff --git a/test/ChangeLog b/test/ChangeLog
index 80b6a578..d0abdde3 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2014-07-24 Arnold D. Robbins <arnold@skeeve.com>
+
+ * badargs.ok: Adjust after correctly alphabetizing options.
+
2014-07-10 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (printhuge): New test.
diff --git a/test/badargs.ok b/test/badargs.ok
index 1be81ec3..8d34be1f 100644
--- a/test/badargs.ok
+++ b/test/badargs.ok
@@ -18,9 +18,9 @@ Short options: GNU long options: (extensions)
-i includefile --include=includefile
-l library --load=library
-L [fatal] --lint[=fatal]
- -n --non-decimal-data
-M --bignum
-N --use-lc-numeric
+ -n --non-decimal-data
-o[file] --pretty-print[=file]
-O --optimize
-p[file] --profile[=file]