aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebdate13
1 files changed, 12 insertions, 1 deletions
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 <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',