[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/main.c,v
From: |
Eric Blake |
Subject: |
Changes to m4/src/main.c,v |
Date: |
Fri, 06 Oct 2006 15:24:12 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 06/10/06 15:24:10
Index: src/main.c
===================================================================
RCS file: /sources/m4/m4/src/main.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -b -r1.93 -r1.94
--- src/main.c 5 Oct 2006 23:07:28 -0000 1.93
+++ src/main.c 6 Oct 2006 15:24:10 -0000 1.94
@@ -132,7 +132,7 @@
Debugging:\n\
-d, --debug[=FLAGS] set debug level (no FLAGS implies `aeq')\n\
--debugfile=FILE redirect debug and trace output\n\
- -l, --arglength=NUM restrict macro tracing size\n\
+ -l, --debuglen=NUM restrict macro tracing size\n\
-t, --trace=NAME trace NAME when it is defined\n\
"), stdout);
fputs (_("\
@@ -175,7 +175,8 @@
non-character as a pseudo short option, starting with CHAR_MAX + 1. */
enum
{
- DEBUGFILE_OPTION = CHAR_MAX + 1, /* no short opt */
+ ARGLENGTH_OPTION = CHAR_MAX + 1, /* not quite -l, because of message */
+ DEBUGFILE_OPTION, /* no short opt */
DIVERSIONS_OPTION, /* not quite -N, because of message */
ERROR_OUTPUT_OPTION, /* not quite -o, because of message */
HASHSIZE_OPTION, /* not quite -H, because of message */
@@ -190,9 +191,9 @@
/* Decode options and launch execution. */
static const struct option long_options[] =
{
- {"arglength", required_argument, NULL, 'l'},
{"batch", no_argument, NULL, 'b'},
{"debug", optional_argument, NULL, 'd'},
+ {"debuglen", required_argument, NULL, 'l'},
{"define", required_argument, NULL, 'D'},
{"discard-comments", no_argument, NULL, 'c'},
{"fatal-warnings", no_argument, NULL, 'E'},
@@ -213,6 +214,7 @@
{"undefine", required_argument, NULL, 'U'},
{"word-regexp", required_argument, NULL, 'W'},
+ {"arglength", required_argument, NULL, ARGLENGTH_OPTION},
{"debugfile", required_argument, NULL, DEBUGFILE_OPTION},
{"diversions", required_argument, NULL, DIVERSIONS_OPTION},
{"hashsize", required_argument, NULL, HASHSIZE_OPTION},
@@ -448,6 +450,10 @@
interactive = INTERACTIVE_YES;
break;
+ case ARGLENGTH_OPTION:
+ error (0, 0, _("Warning: `%s' is deprecated, use `%s' instead"),
+ "--arglength", "--debuglen");
+ /* fall through */
case 'l':
size = size_opt (optarg,
N_("debug argument length"));
- Changes to m4/src/main.c,v, Eric Blake, 2006/10/03
- Changes to m4/src/main.c,v, Eric Blake, 2006/10/05
- Changes to m4/src/main.c,v,
Eric Blake <=
- Changes to m4/src/main.c,v, Eric Blake, 2006/10/11
- Changes to m4/src/main.c,v, Eric Blake, 2006/10/13
- Changes to m4/src/main.c,v, Eric Blake, 2006/10/16
- Changes to m4/src/main.c,v, Eric Blake, 2006/10/21
- Changes to m4/src/main.c,v, Eric Blake, 2006/10/27