diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-03-13 13:05:32 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-03-13 13:05:32 +0200 |
commit | 31949407692d3176e88bdcb6b08f78b598f20b3c (patch) | |
tree | dc74fb66369ac6ac8c5fbffa4caf2248cbea62f4 /src/main.c | |
parent | b25e8398d9922bedfd9488d4fb7f2a87b7ab5f40 (diff) | |
download | mailfromd-31949407692d3176e88bdcb6b08f78b598f20b3c.tar.gz mailfromd-31949407692d3176e88bdcb6b08f78b598f20b3c.tar.bz2 |
Improve docs
* NEWS: Update.
* doc/functions.texi: Document new built-in and most library
functions.
* doc/upgrade.texi: Update.
* src/builtin/debug.bi (debug_level): Fix the use of modname.
(debug_spec): Remove the minlevel parameter.
* src/builtin/io.bi: Remove misleading comment.
* src/main.c: Restore the --debug option.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -378,6 +378,8 @@ static struct argp_option options[] = { #define GRP 40 { NULL, 0, NULL, 0, N_("Informational and debugging options"), GRP }, + { "debug", 'd', N_("LEVEL"), 0, + N_("set debugging level"), GRP+1 }, { "location-column", OPTION_LOCATION_COLUMN, NULL, 0, N_("print location column numbers in compiler diagnostics messages"), GRP+1 }, @@ -471,6 +473,10 @@ parse_opt(int key, char *arg, struct argp_state *state) add_pp_option("-D", arg); break; + case 'd': + mf_optcache_set_option("debug", arg); + break; + case 'U': ext_pp_options_given = 1; add_pp_option("-U", arg); |