Command line - return error code