Add support for "port" switch in command and helper
Removed useless ternary operator
Merge pull request #56 from kea/port-option-switch

Add support for "port" switch in command and helper