epics-base / pva2pva

PV Access gateway/proxy and EPICS Process Database integration
https://epics-base.github.io/pva2pva/
Other
4 stars 13 forks source link

Change exit code for p2p -h #28

Open beenje opened 5 years ago

beenje commented 5 years ago

Running "p2p -h" should exit with code 0, not 1. It's a valid flag.

mdavidsaver commented 4 years ago

Sorry, I missed this PR somehow.

I don't disagree wrt. '-h'. Note though that this exit(1) is also used for the "Unknown argument" case. I admit that this was a shortcut on my part. I didn't think anyone would notice ;)

beenje commented 4 years ago

You comment got a bit lost during my vacation.

You never know what people are gonna do with your code ;-) I didn't pay attention that there was no break before "-h". I separated it now.