Skip to content

Commit 993913d

Browse files
committed
run_parser -> argparser fix in docs.
`run_parser` was renamed to `argparser`: Update the documentation to match. (Patch from Stephen Thorne.)
1 parent ede8517 commit 993913d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oauth2client/tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
5353
"""
5454

55-
# run_parser is an ArgumentParser that contains command-line options expected
55+
# argparser is an ArgumentParser that contains command-line options expected
5656
# by tools.run(). Pass it in as part of the 'parents' argument to your own
5757
# ArgumentParser.
5858
argparser = argparse.ArgumentParser(add_help=False)
@@ -141,7 +141,7 @@ def run_flow(flow, storage, flags, http=None):
141141
142142
parser = argparse.ArgumentParser(description=__doc__,
143143
formatter_class=argparse.RawDescriptionHelpFormatter,
144-
parents=[tools.run_parser])
144+
parents=[tools.argparser])
145145
flags = parser.parse_args(argv)
146146
147147
Args:

0 commit comments

Comments
 (0)