Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18548

argparse and default values

Date 2012-01-05 13:24 +0000
From Andrea Crotti <andrea.crotti.0@gmail.com>
Subject argparse and default values
Newsgroups comp.lang.python
Message-ID <mailman.4449.1325769870.27778.python-list@python.org> (permalink)

Show all headers | View raw


There's one thing I don't understand about argparse, why doesn't
--help show what is the default value??
I mean if I add an option that can be customized it would be good for 
the user
to know what is the current value in my opinion.

Is there a way to make it show it?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

argparse and default values Andrea Crotti <andrea.crotti.0@gmail.com> - 2012-01-05 13:24 +0000

csiph-web