I've been using optparse for a while, and I have an option with a
number of sub-actions I want to describe in the help section:
parser.add_option(-a, --action,
help=\
Current supported actions: create, build, import, exp_cmd and
interact.
create -- Vaguely
I've been using optparse for a while, and I have an option with a
number of sub-actions I want to describe in the help section:
parser.add_option(-a, --action,
help=\
[snipped formatted help]
)
Unfortunately, when I run the script with --help, this is what I get
On Oct 24, 12:06 pm, Tim Chase [EMAIL PROTECTED] wrote:
I've been using optparse for a while, and I have an option with a
number of sub-actions I want to describe in the help section:
parser.add_option(-a, --action,
help=\
[snipped formatted help] )
Dan wrote:
On Oct 24, 12:06 pm, Tim Chase [EMAIL PROTECTED] wrote:
I've been using optparse for a while, and I have an option with a
number of sub-actions I want to describe in the help section:
parser.add_option(-a, --action,
help=\
[snipped formatted help] )