From 92977092925c8e34bd52bc529dfad2b916839d0f Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 16 Jan 2011 09:18:59 +0000 Subject: Clean-up comment. --- Doc/whatsnew/3.2.rst | 4 ++-- 1 file 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 -- cgit v0.12