diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-12-22 02:06:55 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-12-22 02:06:55 +0200 |
commit | 6f49d439216e3067d3f2994221edb8ea16e2c74e (patch) | |
tree | 515173740b95a06faee97f11c0b14270c7c26ea5 /src/cmdline.opt | |
parent | b200591a7a85ddb90169b1791355af25b009fa1a (diff) | |
download | wydawca-6f49d439216e3067d3f2994221edb8ea16e2c74e.tar.gz wydawca-6f49d439216e3067d3f2994221edb8ea16e2c74e.tar.bz2 |
Fix documentation + minor changes.
* bootstrap.conf: Unconditionally update submodules.
* configure.ac: Fix wording of an error message.
* doc/Makefile.am (check-config)
(check-sub-config): Fix regexps.
* doc/wydawca.texi: Update.
* src/cmdline.opt (selected_spools): New function,
* src/config.c (spool_kw): Move "archive-signatures" to
wydawca_kw.
* src/wydawca.c (main): selected_spools implies
cron_option.
* src/wydawca.h (selected_spools): New proto.
Diffstat (limited to 'src/cmdline.opt')
-rw-r--r-- | src/cmdline.opt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt index 3515072..116c3e5 100644 --- a/src/cmdline.opt +++ b/src/cmdline.opt @@ -27,6 +27,12 @@ string_eq (const void *elt1, const void *elt2) } int +selected_spools () +{ + return (source_list != NULL || tag_list != NULL); +} + +int enabled_spool_p (const struct spool *spool) { if (source_list || tag_list) @@ -95,7 +101,7 @@ BEGIN END OPTION(spool,S,TAG, - [<process only spool with the given tag>]) + [<process only spool with the given tag (may be used multiple times)>]) BEGIN if (!tag_list) tag_list = gl_list_create_empty (&gl_linked_list_implementation, |