changeset 464:2ab6fdde1010

Display licensing information with --version.
author Magnus Schieder <mschieder@intevation.de>
date Mon, 30 Apr 2018 14:13:05 +0200
parents 24ccca2442b1
children 7fc3da3c100d
files getan/main.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/getan/main.py	Mon Apr 30 12:13:35 2018 +0200
+++ b/getan/main.py	Mon Apr 30 14:13:05 2018 +0200
@@ -28,7 +28,7 @@
 
     usage = "%(prog)s [options] [databasefile (default: " + \
         DEFAULT_DATABASE + ")]"
-    version = "getan version %s" % getan.__version__
+    version = "getan version %s, LICENSE GNU GPL v>=3" % getan.__version__
 
     parser = argparse.ArgumentParser(prog='getan', usage=usage)
     parser.add_argument('--version', action='version', version=version)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)