Fixed linux build error
Also improved CLI

Signed-off-by: retep998 <retep998@verizon.net>