ModelSEED / Model-SEED-core

The Model SEED is a tool for building, curating, and analyzing gonome-scale metabolic models. Visit the Model SEED homepage for installation instructions and full feature documentation.
http://bionet.mcs.anl.gov/index.php/Model_SEED_Homepage
Other
19 stars 10 forks source link

would be nice if commands had a usage message #40

Closed raphyz closed 13 years ago

raphyz commented 13 years ago

It would be nice if the command lines would have a usage message for example:

./importmodel --help

or -?

I had to guess that for importmodel the -overwrite parameter expects a 0|1 and not yes|no or something else the usage messge should list that

cshenry commented 13 years ago

It's a good point, and I agree. although, if you type "./importmodel" or any other function with no arguments, a usage message does appear. It's not a great usage message, but it's something.

Eventually we will do as you day... I suspect it will involve porting in the argument descriptions from the wiki into the code in some form.

raphyz commented 13 years ago

Sorry, I have seen the message, but I did not understand it was a usage message...

On 10/09/2011 06:45 AM, cshenry wrote:

It's a good point, and I agree. although, if you type "./importmodel" or any other function with no arguments, a usage message does appear. It's not a great usage message, but it's something.

Eventually we will do as you day... I suspect it will involve porting in the argument descriptions from the wiki into the code in some form.

cshenry commented 13 years ago

I tried to make the usage function better.