b0923a3e1220d13f7311379cd09d31f49274d9b3

In the recent commit, True/False of boolean argument became case-insensitve and this code is copy-and-paste'ed in several places. Now there are several number of patches which add explicit arguments for *-update or *-list and the code of boolean argumetns like below will be used more than now. This commit add a utility method to register such boolean opt. parser.add_argument( '--enabled', dest='enabled', metavar='{True,False}', choices=['True', 'true', 'False', 'false'], help=_('Whether to enable or disable this rule.'), default=argparse.SUPPRESS) Change-Id: I9575eeef32154a8b92589c2cc7889803216bddb2
This is the client API library for Neutron.
Description
Languages
Python
100%