aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/main.c b/main.c
index c3adc9f5..785935e4 100644
--- a/main.c
+++ b/main.c
@@ -201,7 +201,7 @@ main(int argc, char **argv)
/*
* The + on the front tells GNU getopt not to rearrange argv.
*/
- const char *optlist = "+F:f:v:W;m:bcCd::D::e:E:gh:i:l:L:nNo::Op::MPrStVY";
+ const char *optlist = "+F:f:v:W;bcCd::D::e:E:gh:i:l:L:nNo::Op::MPrStVY";
bool stopped_early = false;
int old_optind;
int i;
@@ -348,20 +348,6 @@ main(int argc, char **argv)
add_preassign(PRE_ASSIGN, optarg);
break;
- case 'm':
- /*
- * BWK awk extension.
- * -mf nnn set # fields, gawk ignores
- * -mr nnn set record length, ditto
- *
- * As of at least 10/2007, BWK awk also ignores it.
- */
- if (do_lint)
- lintwarn(_("`-m[fr]' option irrelevant in gawk"));
- if (optarg[0] != 'r' && optarg[0] != 'f')
- warning(_("-m option usage: `-m[fr] nnn'"));
- break;
-
case 'b':
do_binary = true;
break;