#1349 koji build -h returns 1
Closed: Fixed by tkopecek. Opened by tkopecek.

Any command which runs OptionParser inside is resulting in printing help and SystemExit (which is default behaviour of OptionParser for '-h'). As this exception is caught by main code in cli/koji and transformed to error, thus result is always 1.

We should differentiate the reason and return 0 as expected.


@tkopecek I checked this and it looks that koji build -h returns 0 now. It looks that it was fixed in other PR.

Metadata Update from @jcupova:
- Custom field Size adjusted to None

Metadata Update from @tkopecek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1349

Please continue any further discussion there.

Metadata