summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-16 09:18:59 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-16 09:18:59 (GMT)
commit92977092925c8e34bd52bc529dfad2b916839d0f (patch)
treeeb2cde68411c14af1263011143e655bab28784df /Doc
parent5bdfd910f5741b2ace6938fa6c2301ecf1b3a077 (diff)
downloadcpython-92977092925c8e34bd52bc529dfad2b916839d0f.zip
cpython-92977092925c8e34bd52bc529dfad2b916839d0f.tar.gz
cpython-92977092925c8e34bd52bc529dfad2b916839d0f.tar.bz2
Clean-up comment.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.2.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 5bbe877..a9c44e8 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -101,11 +101,11 @@ or more positional arguments is present, and making a required option::
description = 'Manage servers', # main description for help
epilog = 'Tested on Solaris and Linux') # displayed after help
parser.add_argument('action', # argument name
- choices = ['deploy', 'start', 'stop'], # one of 3 allowed values
+ choices = ['deploy', 'start', 'stop'], # three allowed values
help = 'action on each target') # help msg
parser.add_argument('targets',
metavar = 'HOSTNAME', # var name used in help msg
- nargs = '+', # require 1 or more targets
+ nargs = '+', # require one or more targets
help = 'url for target machines') # help msg explanation
parser.add_argument('-u', '--user', # -u or --user option
required = True, # make it a required argument