From: richard Date: Wed, 7 Nov 2001 05:30:11 +0000 (+0000) Subject: Nicer usage message. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=111fb6d494d7607de603fdf891a02d754e34ef44;p=roundup.git Nicer usage message. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@379 57a73879-2fb5-44c3-a270-3262357dd7e2 --- 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: