znyul / stm32flash

Automatically exported from code.google.com/p/stm32flash
0 stars 1 forks source link

-h exits with exit status 1 instead of 0 #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run stm32flash -h

What is the expected output?
exit status 0

What do you see instead?
exit status 1

What version of the product are you using? On what operating system?
git head at 2e04bf6

Please provide any additional information below.
I am creating a homebrew formula for easy installation on OSX. Homebrew 
requires a test of the compiled programm. Without hardware attached the only 
test which can be run automatically is `stm32flash -h`.

Original issue reported on code.google.com by c.ben.ha...@gmail.com on 2 Apr 2014 at 1:10

GoogleCodeExporter commented 9 years ago
Thanks for the report, I have now fixed it in git. Thanks for making a homebrew 
recipe!

Original comment by lists.to...@gmail.com on 2 Apr 2014 at 5:32

GoogleCodeExporter commented 9 years ago
thanks alot. i added the patch to the recipe.

Original comment by c.ben.ha...@gmail.com on 2 Apr 2014 at 6:08

GoogleCodeExporter commented 9 years ago
Doesn't the recipe use latest git? Anyway, I should try to get the 0.3 release 
out soon.

Original comment by lists.to...@gmail.com on 2 Apr 2014 at 9:31

GoogleCodeExporter commented 9 years ago
Right now it uses 0.3beta2 as "stable" with two patches and 
git://gitorious.org/stm32flash/stm32flash.git as "head". A 0.3 release would 
make the recipe much simpler. But hey it's ready when it's ready.

Original comment by c.ben.ha...@gmail.com on 3 Apr 2014 at 11:59