python - Using docopt double dash option with optional parameter? -


using docopt, there way make double-dashed parameter works , without equals sign?

i want both of following commands make --tls true:

cmd --tls cmd --tls=true 

i seem able 1 or other work using

options:   --tls 

or

options:   --tls=false                   

separating them comma not seem work

options:   --tls, --tls=false                   


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -