From 111fb6d494d7607de603fdf891a02d754e34ef44 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 7 Nov 2001 05:30:11 +0000 Subject: [PATCH] Nicer usage message. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@379 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup-mailgw | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/roundup-mailgw b/roundup-mailgw index 6aad854..15f765b 100755 --- a/roundup-mailgw +++ b/roundup-mailgw @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundup-mailgw,v 1.9 2001-11-07 05:29:26 richard Exp $ +# $Id: roundup-mailgw,v 1.10 2001-11-07 05:30:11 richard Exp $ import sys if int(sys.version[0]) < 2: @@ -30,7 +30,7 @@ if len(sys.argv) > 1: else: instance_home = os.environ.get('ROUNDUP_INSTANCE', '') if not instance_home: - print 'No instance home specified' + print 'Usage: %s [mail spool file]'%sys.argv[0] sys.exit(1) # get the instance @@ -73,6 +73,12 @@ fcntl.flock(f.fileno(), FCNTL.LOCK_UN) # # $Log: not supported by cvs2svn $ +# Revision 1.9 2001/11/07 05:29:26 richard +# Modified roundup-mailgw so it can read e-mails from a local mail spool +# file. Truncates the spool file after parsing. +# Fixed a couple of small bugs introduced in roundup.mailgw when I started +# the popgw. +# # Revision 1.8 2001/11/01 22:04:37 richard # Started work on supporting a pop3-fetching server # Fixed bugs: -- 2.30.2