diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-03-12 16:48:45 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-03-12 16:54:19 +0200 |
commit | 0c2f9cd46d7defc7df7112848c5eb817bd4564df (patch) | |
tree | 05bcf057ee64b3e9f9e066ac182d46b8a7f4a126 /src/cmdline.opt | |
parent | 407bde189a8cd0009e9e3cad8d8ba80d45833979 (diff) | |
download | wydawca-0c2f9cd46d7defc7df7112848c5eb817bd4564df.tar.gz wydawca-0c2f9cd46d7defc7df7112848c5eb817bd4564df.tar.bz2 |
New informative options.
* modules/mailutils/mod_mailutils.c (wy_help): Implement
module help.
* src/wydawca.c (main): Using -t and -d options together produces a
print out of the configuration parse tree. Additional -d
option includes source file locations.
* src/module.c (module_help): New function.
* src/module.h (module_help): New proto.
Diffstat (limited to 'src/cmdline.opt')
-rw-r--r-- | src/cmdline.opt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt index 039dc6b..5862d87 100644 --- a/src/cmdline.opt +++ b/src/cmdline.opt @@ -201,6 +201,13 @@ BEGIN exit(0); END +OPTION(module-help,,MODULE, + [<show help for MODULE>]) +BEGIN + module_help(optarg); + exit(0); +END + OPTIONS_END void |