vincent-hugot / qtest

Inline (Unit) Tests for OCaml
GNU General Public License v3.0
67 stars 8 forks source link

qtest called without parameters #8

Closed UnixJunkie closed 11 years ago

UnixJunkie commented 11 years ago

could/should be a synonym of qtest --help ;)

vincent-hugot commented 11 years ago

I think I made it that way to avoid the wall of text when I just want to check it's installed.

Maybe just a short summary/example...

UnixJunkie commented 11 years ago

On 05/14/2013 11:44 AM, Vincent Hugot wrote:

I think I made it that way to avoid the wall of text when I just want to check it's installed.

Then the command you wanted to run is which. ;)

Example:

which qtest

echo $?

0

which qtest2 # this exe does not exist

echo $?

1

Maybe just a short summary/example...

— Reply to this email directly or view it on GitHub https://github.com/vincent-hugot/iTeML/issues/8#issuecomment-17853770.

vincent-hugot commented 11 years ago

Then the command you wanted to run is which

But that's six more keystrokes !

More seriously, I don't see many utilities dropping the wall of text like that... tar says "see --help", ocamlc does nothing... I'll compromise and give a short summary.