diff options
-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', |