[Pulp-list] flags vs. bool options

Jeff Ortel jortel at redhat.com
Tue May 22 13:55:06 UTC 2012


I've noticed that in some of our extensions, we are defining parameters 
as boolean options instead of using flags.  It seems more intuitive to 
have a CLI users and much more in line with most other Linux commands to 
specify (for example):

--ssl-verify

instead of:

--ssl-verify=true

and requires far less handling/conversion/validation in our code.




More information about the Pulp-list mailing list