aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-03-21 09:58:33 +0100
committerGuido Günther <agx@sigxcpu.org>2012-03-21 23:25:45 +0100
commitfa1431071e5e3bb28b97900fae213601acc6d6f3 (patch)
tree6f9505ce998ccc25259fcf36365acc559e4d5877
parent6d4b4ff991fc58ef77029734e256a0e0138f0a6a (diff)
gbp.confing: add docstring
Git-Dch: Ignore
-rw-r--r--gbp/config.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index c6805df..345330c 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -264,6 +264,14 @@ class GbpOptionParser(OptionParser):
self.config['filter'] = []
def __init__(self, command, prefix='', usage=None):
+ """
+ @param command: the command to build the config parser for
+ @type command: C{str}
+ @param prefix: A prefix to add to all command line options
+ @type prefix: C{str}
+ @param usage: a usage description
+ @type usage: C{str}
+ """
self.command = command
self.prefix = prefix
self.config = {}