diff options
| author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2017-05-26 17:17:35 +0200 | 
|---|---|---|
| committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2017-05-26 17:17:35 +0200 | 
| commit | 51e6fbac98ba1ddd6815bdd84018e1425ef8a70f (patch) | |
| tree | 568a9f5e9582b94c86bc67ee00a9425dd786104b | |
| parent | e3b62c351fe3abd6e33a8dee74dac2be5bbfb5b1 (diff) | |
License and a better help description
| -rwxr-xr-x | debdate | 13 | 
1 files changed, 12 insertions, 1 deletions
@@ -1,5 +1,12 @@  #!/usr/bin/env python3 +# Copyright (C) Elena Grandi <valhalla@trueelena.org> +# This program is free software. It comes without any warranty, to the +# extent permitted by applicable law. You can redistribute it and/or +# modify it under the terms of the Do What The Fuck You Want To Public +# License, Version 2, as published by Sam Hocevar. See +# http://www.wtfpl.net/ for more details. +  import argparse  import datetime  from dateutil import relativedelta, parser @@ -91,7 +98,11 @@ class TestDebDate(unittest.TestCase):  class Command:      def setup_parser(self): -        self.parser = argparse.ArgumentParser(description='Debian Regnal Date') +        self.parser = argparse.ArgumentParser( +            description=''' +            Convert Gregorian dates to Debian Regnal dates +            ''' +            )          self.parser.add_argument(              '-d', '--date',              help='A gregorian date',  | 
