Update cli.go

Currently CLI command error doesn't return error code.  It is convenient for scripting.  Adding return code 1 the same way as flag error.