Mercurial > getan > getan
comparison getan/main.py @ 520:f05079aea604
Improve --version output.
* Add plural to authors. Sort by time, earliest authors first.
Use updated phrasing for license.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Mon, 03 Dec 2018 08:56:26 +0100 |
parents | 11d97a40dfa5 |
children | f8b05636cd43 |
comparison
equal
deleted
inserted
replaced
519:3633f284edca | 520:f05079aea604 |
---|---|
32 | 32 |
33 usage = "%(prog)s [options] [databasefile (default: " + \ | 33 usage = "%(prog)s [options] [databasefile (default: " + \ |
34 DEFAULT_DATABASE + ")]" | 34 DEFAULT_DATABASE + ")]" |
35 version = ''' | 35 version = ''' |
36 getan version %s | 36 getan version %s |
37 (c) 2008-2018 by Intevation | 37 (c) 2008-2018 by Intevation GmbH |
38 Author: Björn Ricks <bjoern.ricks@intevation.de> | 38 Authors: Sascha L. Teichmann <teichmann@intevation.de> |
39 Bernhard Reiter <bernhard.reiter@intevation.de> | 39 Ingo Weinzierl <ingo.weinzierl@intevation.de> |
40 Sascha L. Teichmann <teichmann@intevation.de> | 40 Björn Ricks <bjoern.ricks@intevation.de> |
41 Thomas Arendsen Hein <thomas@intevation.de> | 41 Bernhard Reiter <bernhard.reiter@intevation.de> |
42 Ingo Weinzierl <ingo.weinzierl@intevation.de> | 42 Thomas Arendsen Hein <thomas@intevation.de> |
43 Magnus Schieder <magnus.schieder@intevation.de> | 43 Magnus Schieder <magnus.schieder@intevation.de> |
44 | 44 |
45 This is Free Software licensed under the terms of GPLv3 or later. | 45 This is Free Software licensed under the terms of GNU GPL v>=3. |
46 For details see LICENSE coming with the source of \'getan\'. | 46 For details see LICENSE coming with the source of \'getan\'. |
47 ''' % getan.__version__ | 47 ''' % getan.__version__ |
48 | 48 |
49 parser = argparse.ArgumentParser(prog='getan', usage=usage, | 49 parser = argparse.ArgumentParser(prog='getan', usage=usage, |
50 formatter_class=argparse.RawTextHelpFormatter) | 50 formatter_class=argparse.RawTextHelpFormatter) |