mirror of
https://github.com/python/cpython.git
synced 2025-10-02 21:25:24 +00:00
Clean-up comment.
This commit is contained in:
parent
5bdfd910f5
commit
9297709292
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue