[Branch,~linaro-validation/lava-tool/trunk] Rev 164: Default add_help to True

Message ID 20110720183230.7180.93121.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Paul Larson July 20, 2011, 6:32 p.m.
Merge authors:
  Paul Larson (pwlars)
Related merge proposals:
  https://code.launchpad.net/~pwlars/lava-tool/add-help/+merge/66034
  proposed by: Paul Larson (pwlars)
  review: Approve - Spring Zhang (qzhang)
------------------------------------------------------------
revno: 164 [merge]
committer: Paul Larson <paul.larson@canonical.com>
branch nick: trunk
timestamp: Wed 2011-07-20 13:30:53 -0500
message:
  Default add_help to True
modified:
  lava_tool/dispatcher.py


--
lp:lava-tool
https://code.launchpad.net/~linaro-validation/lava-tool/trunk

You are subscribed to branch lp:lava-tool.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-tool/trunk/+edit-subscription

Patch

=== modified file 'lava_tool/dispatcher.py'
--- lava_tool/dispatcher.py	2011-06-17 13:11:50 +0000
+++ lava_tool/dispatcher.py	2011-06-27 17:23:41 +0000
@@ -38,7 +38,7 @@ 
 
     def __init__(self):
         # XXX The below needs to allow some customization.
-        parser_args = dict(add_help=False)
+        parser_args = dict(add_help=True)
         if self.description is not None:
             parser_args['description'] = self.description
         if self.epilog is not None: