projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor cleanup.
[python_utils.git]
/
argparse_utils.py
diff --git
a/argparse_utils.py
b/argparse_utils.py
index 83a3aa47be1cd4f632c8960beeb4aefb0d4fc840..f73a8936d3eb268b96ea387a543608d24d0ceb51 100644
(file)
--- a/
argparse_utils.py
+++ b/
argparse_utils.py
@@
-19,7
+19,7
@@
logger = logging.getLogger(__name__)
class ActionNoYes(argparse.Action):
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',
cfg.add_argument(
'--enable_the_thing',
@@
-28,11
+28,13
@@
class ActionNoYes(argparse.Action):
help='Should we enable the thing?'
)
help='Should we enable the thing?'
)
- This creates
cmdline arguments
:
+ This creates
the following cmdline arguments:
:
--enable_the_thing
--no_enable_the_thing
--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):
"""
def __init__(self, option_strings, dest, default=None, required=False, help=None):