aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-02-22 12:31:57 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-02-22 12:33:09 +0200
commit79eeda2081f4cfccfb63eaec2e04cf206d4518a1 (patch)
tree7dcd4315142b9c478385f7bf84610e465ae9b6c1 /src
parente7860f6f4b7da3e45eee6d2100dfb42823d8106f (diff)
downloadwydawca-79eeda2081f4cfccfb63eaec2e04cf206d4518a1.tar.gz
wydawca-79eeda2081f4cfccfb63eaec2e04cf206d4518a1.tar.bz2
Bugfix
* etc/wydawca.rc: Fix syntax errors. * src/wydawca.c: Remove leftover function.
Diffstat (limited to 'src')
-rw-r--r--src/wydawca.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/wydawca.c b/src/wydawca.c
index 5df2638..26b240d 100644
--- a/src/wydawca.c
+++ b/src/wydawca.c
@@ -36,36 +36,6 @@ int preprocess_only = 0;
unsigned wydawca_stat[MAX_STAT];
-void
-usage ()
-{
- printf ("usage: wydawca [OPTIONS]\n");
- printf ("wydawca synchronizes files from a set of upload directories with the\n"
- "corresponding distribution sites.\n");
- printf ("\n");
- printf ("OPTIONS are:\n");
- printf (" -c, --config-file=FILE use FILE instead of the default configuration\n"
- " file\n");
- printf (" --cron, --syslog log to syslog\n");
- printf (" -d, --debug increase debugging level by 1\n");
- printf (" -e, --stderr log to stderr\n");
- printf (" -I, --include-directory[=DIR] set default include directory\n");
- printf (" -n, --dry-run do nothing, print almost everything;\n"
- " implies `--debug --stderr'; use additional\n"
- " `--debug' options to get even more info\n");
- printf (" -t, --lint parse configuration file and exit\n");
- printf (" -h, --help print this help list\n");
- printf (" -v, --version print program version and exit\n");
-
- printf ("\nThe defaults are:\n");
- printf ("Configuration file: %s\n", conffile);
- printf ("Syslog facility: %s\n",
- mu_syslog_facility_to_string (log_facility));
- printf ("Syslog tag: %s\n", syslog_tag);
- printf ("\n");
- printf ("Report bugs to <%s>\n", PACKAGE_BUGREPORT);
-}
-
/* Logging */
void

Return to:

Send suggestions and report system problems to the System administrator.