[pwm] Replaced help and version commands with opts

* Replaced help command with -h option
* Replaced version command with -v option