Console_CommandLine problem?
| From: | Jake Conk | Date: | Sat, 26 Jan 2008 03:37:07 +0000 |
| Subject: | Console_CommandLine problem? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-28468@lists.php.net to get a copy of this message | ||
Hello,
I integrated the Console_CommandLine package into my application but I
have one problem with it and that is it displays the description
column in the help message very hard to read. I'll paste a portion of
the help screen it generated for me:
------------------------------------------------------------------------------------------------------------------------------------
Usage:
myapp [options]
Options:
-e current_engine, --current_engine=current_engine Name of
your
tables
current
engine(
s) to
search
for.
You can
use
this
option
mutlipl
e times
to add
more
engines
.
-f sequence_table_suffix, --seq_tbl_suffix=sequence_table_suffix Suffix
used to
find
which
tables
are
sequenc
es.
-p prefix, --prefix=prefix
Tablesp
ace
prefix.
-r, --resume_error Resume
on
error.
-s new_size, --new_size=new_size Takes
current
size of
sql
file
for
tablesp
ace,
rounds
it to
megabyt
es,
then
multipl
ies it
by this
value.
-h, --help show
this
help
message
and
exit
--version show
the
program
version
and
exit
------------------------------------------------------------------------------------------------------------------------------------
What I noticed is that its only leaving 7 character spaces for stuff
in the description column thus making it hard to read. Also it has for
every long_name option that gets a value equal to its name which is
taking up a lot of space and maybe thats the cause of this?
Anyways, is there a way to get my descriptions to display properly and
if possible change the long_name=name part to maybe just output
longname?
Thanks,
- Jake