chmod: Fix for displaying help

Validate options and number of argument to display help

Change-Id: Ia003bd362c44d5d868e68f45c7dcfea50864dc7b
CRs-Fixed: 589737
Merge pull request #3 from CyanogenMod/cm-11.0

chmod: Fix for displaying help