#1349 koji build -h returns 1
Closed: Fixed 3 years ago by tkopecek. Opened 5 years ago 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

3 years ago

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

3 years ago

Login to comment on this ticket.

Metadata