aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-01 03:14:16 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-01 03:14:16 +0200
commitd6b602b7850ce081fe3356d7e2ee86a85926214b (patch)
treef05d3a8c032885526f3b087a9472c01730165434 /src
parentadd basic info doc (diff)
downloadargparser-d6b602b7850ce081fe3356d7e2ee86a85926214b.tar.gz
argparser-d6b602b7850ce081fe3356d7e2ee86a85926214b.tar.bz2
argparser-d6b602b7850ce081fe3356d7e2ee86a85926214b.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/argparser.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/argparser.py b/src/argparser.py
index 7a2cafd..8378b81 100644
--- a/src/argparser.py
+++ b/src/argparser.py
@@ -51,11 +51,11 @@ class ArgParser():
Constructor.
The short description is printed on same line as the program name
- @param description:str Short, single-line, description of the program
- @param usage:str? Formated, multi-line, usage text, may be `None`
- @param longdescription:str Long, multi-line, description of the program, may be `None`
- @param program:str? The name of the program, `None` for automatic
- @param usestderr:bool Whether to use stderr instead of stdout
+ @param description:str Short, single-line, description of the program
+ @param usage:str? Formated, multi-line, usage text, may be `None`
+ @param longdescription:str? Long, multi-line, description of the program, may be `None`
+ @param program:str? The name of the program, `None` for automatic
+ @param usestderr:bool Whether to use stderr instead of stdout
'''
self.linuxvt = ('TERM' in os.environ) and (os.environ['TERM'] == 'linux')
self.program = sys.argv[0] if program is None else program