]> code.delx.au - offlineimap/blobdiff - offlineimap/version.py
Prepping 5.99.14
[offlineimap] / offlineimap / version.py
index aead039ff93042ecc0eeb75d2fd282abd82d091f..e95e17433eca5af753f3cf60e5438fceb80be9ba 100644 (file)
@@ -1,18 +1,15 @@
 productname = 'OfflineIMAP'
 productname = 'OfflineIMAP'
-versionstr = "4.0.8"
-revno = long('$Rev: 592 $'[6:-2])
-revstr = "Rev %d" % revno
-datestr = '$Date: 2004-08-01 16:50:23 -0500 (Sun, 01 Aug 2004) $'
+versionstr = "5.99.14"
 
 versionlist = versionstr.split(".")
 major = versionlist[0]
 minor = versionlist[1]
 patch = versionlist[2]
 
 versionlist = versionstr.split(".")
 major = versionlist[0]
 minor = versionlist[1]
 patch = versionlist[2]
-copyright = "Copyright (C) 2002 - 2004 John Goerzen"
+copyright = "Copyright (C) 2002 - 2008 John Goerzen"
 author = "John Goerzen"
 author_email = "jgoerzen@complete.org"
 description = "Disconnected Universal IMAP Mail Synchronization/Reader Support"
 author = "John Goerzen"
 author_email = "jgoerzen@complete.org"
 description = "Disconnected Universal IMAP Mail Synchronization/Reader Support"
-bigcopyright = """%(productname)s %(versionstr)s (%(revstr)s)
+bigcopyright = """%(productname)s %(versionstr)s
 %(copyright)s <%(author_email)s>""" % locals()
 
 banner = bigcopyright + """
 %(copyright)s <%(author_email)s>""" % locals()
 
 banner = bigcopyright + """
@@ -20,9 +17,8 @@ This software comes with ABSOLUTELY NO WARRANTY; see the file
 COPYING for details.  This is free software, and you are welcome
 to distribute it under the conditions laid out in COPYING."""
 
 COPYING for details.  This is free software, and you are welcome
 to distribute it under the conditions laid out in COPYING."""
 
-homepage = "http://www.quux.org/devel/offlineimap"
-homegopher = "gopher://quux.org/1/devel/offlineimap"
-license = """Copyright (C) 2002 - 2004 John Goerzen <jgoerzen@complete.org>
+homepage = "http://software.complete.org/offlineimap/"
+license = """Copyright (C) 2002 - 2008 John Goerzen <jgoerzen@complete.org>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -36,12 +32,18 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA"""
-
-cmdhelp = """
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA"""
+
+def getcmdhelp():
+    from offlineimap.ui import detector
+    import os
+    uilist = ""
+    for ui in detector.DEFAULT_UI_LIST:
+        uilist += "                " + ui + os.linesep
+    return """
        offlineimap [ -1 ] [ -P profiledir ] [ -a accountlist ]  [
        -c configfile  ] [ -d debugtype[,debugtype...]  ] [ -o ] [
        offlineimap [ -1 ] [ -P profiledir ] [ -a accountlist ]  [
        -c configfile  ] [ -d debugtype[,debugtype...]  ] [ -o ] [
-       -u interface ]
+       -u interface ] [ -q ]
 
        offlineimap -h | --help
 
 
        offlineimap -h | --help
 
@@ -92,9 +94,27 @@ cmdhelp = """
               one else.  The maildir option will enable debugging
               for certain Maildir operations.
 
               one else.  The maildir option will enable debugging
               for certain Maildir operations.
 
-       -o     Run  only once, ignoring any autorefresh setting in
+       -f foldername[,foldername...]
+              Only sync the specified folders.  The "foldername"s
+              are    the   *untranslated*    foldernames.    This
+              command-line  option  overrides any  "folderfilter"
+              and "folderincludes" options  in the  configuration 
+              file.
+
+       -k [section:]option=value
+              Override configuration file option.  If"section" is
+              omitted, it defaults to "general".  Any underscores
+              "_" in the section name are replaced with spaces:
+              for instance,  to override  option "autorefresh" in
+              the "[Account Personal]" section in the config file
+              one would use "-k Account_Personal:autorefresh=30".
+              
+       -o     Run only once,  ignoring any autorefresh setting in
               the config file.
 
               the config file.
 
+       -q     Run  only quick synchronizations.   Ignore any flag
+              updates on IMAP servers.
+
        -h, --help
               Show summary of options.
 
        -h, --help
               Show summary of options.
 
@@ -104,7 +124,6 @@ cmdhelp = """
               configuration file.  The UI specified with -u  will
               be  forced to be used, even if its isuable() method
               states that it cannot be.   Use  this  option  with
               configuration file.  The UI specified with -u  will
               be  forced to be used, even if its isuable() method
               states that it cannot be.   Use  this  option  with
-              care.   The  pre-defined  options are listed in the
-              USER INTERFACES section.
-
-"""
+              care.   The  pre-defined  options, described in the
+              USER INTERFACES section of the man page, are:
+""" + uilist