Hammer on that run_tests.py thing again.
[python_utils.git] / argparse_utils.py
index 83a3aa47be1cd4f632c8960beeb4aefb0d4fc840..f73a8936d3eb268b96ea387a543608d24d0ceb51 100644 (file)
@@ -19,7 +19,7 @@ logger = logging.getLogger(__name__)
 
 
 class ActionNoYes(argparse.Action):
-    """An argparse Action that allows for commandline arguments like this:
+    """An argparse Action that allows for commandline arguments like this::
 
         cfg.add_argument(
             '--enable_the_thing',
@@ -28,11 +28,13 @@ class ActionNoYes(argparse.Action):
             help='Should we enable the thing?'
         )
 
-    This creates cmdline arguments:
+    This creates the following cmdline arguments::
 
         --enable_the_thing
         --no_enable_the_thing
 
+    These arguments can be used to indicate the inclusion or exclusion of
+    binary exclusive behaviors.
     """
 
     def __init__(self, option_strings, dest, default=None, required=False, help=None):