From 51e6fbac98ba1ddd6815bdd84018e1425ef8a70f Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Fri, 26 May 2017 17:17:35 +0200 Subject: License and a better help description --- debdate | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/debdate b/debdate index 616c9cb..bd5cb44 100755 --- a/debdate +++ b/debdate @@ -1,5 +1,12 @@ #!/usr/bin/env python3 +# Copyright (C) Elena Grandi +# 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', -- cgit v1.2.3