summaryrefslogtreecommitdiff
path: root/alot/utils
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-01-25 09:27:25 -0800
committerDylan Baker <dylan@pnwbakers.com>2017-01-25 10:27:53 -0800
commit0ec97d98e82d10024419199b93c1d13a1cedc5eb (patch)
tree354b6e27dc4270849cb9a34617a411068edc637a /alot/utils
parentc67a62ec0804a588df577360e80922e2a2ffb2ef (diff)
Move utils/booleanaction.py to utils/argparse.py
This module is going to be enhanced with additional components in later patches in this series, so it needs a more generic name.
Diffstat (limited to 'alot/utils')
-rw-r--r--alot/utils/argparse.py (renamed from alot/utils/booleanaction.py)19
1 files changed, 17 insertions, 2 deletions
diff --git a/alot/utils/booleanaction.py b/alot/utils/argparse.py
index 4c9ce1ed..968e9097 100644
--- a/alot/utils/booleanaction.py
+++ b/alot/utils/argparse.py
@@ -1,6 +1,21 @@
+# encoding=utf-8
# Copyright (C) 2011-2012 Patrick Totzke <patricktotzke@gmail.com>
-# This file is released under the GNU GPL, version 3 or a later revision.
-# For further details see the COPYING file
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+"""Custom extensions of the argparse module."""
+
from __future__ import absolute_import
import argparse